summaryrefslogtreecommitdiffstats
path: root/ddcprobe
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-28 21:21:24 +0000
committerMatt Wilson <msw@redhat.com>1999-08-28 21:21:24 +0000
commitd8dab5385083e78b0fab9a4187e1b9aaa2c80c61 (patch)
treee1ccab7579a2e89d0907eb276bd94975cb808a2b /ddcprobe
parentb262eeb479c02a03ee03918934a0d3fed94cc6a9 (diff)
downloadanaconda-d8dab5385083e78b0fab9a4187e1b9aaa2c80c61.tar.gz
anaconda-d8dab5385083e78b0fab9a4187e1b9aaa2c80c61.tar.xz
anaconda-d8dab5385083e78b0fab9a4187e1b9aaa2c80c61.zip
makefile
Diffstat (limited to 'ddcprobe')
-rw-r--r--ddcprobe/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/ddcprobe/Makefile b/ddcprobe/Makefile
new file mode 100644
index 000000000..5fab5225a
--- /dev/null
+++ b/ddcprobe/Makefile
@@ -0,0 +1,27 @@
+CFLAGS=-Wall -O -g# -DDEBUG
+
+TARGETS=ddcprobe svgamodes ddcxinfo modetest libvbe.a
+
+all: $(TARGETS)
+
+ddcprobe: lrmi.o vesamode.o vbe.o ddcprobe.o
+
+svgamodes: lrmi.o vesamode.o vbe.o svgamodes.o
+
+ddcxinfo: lrmi.o vesamode.o vbe.o ddcxinfo.o
+
+modetest: lrmi.o vesamode.o vbe.o modetest.o
+
+libvbe.a: lrmi.o vesamode.o vbe.o
+ $(AR) cru $@ $^
+
+install: $(DESTDIR)/usr/include/vbe.h $(DESTDIR)/usr/lib/libvbe.a
+
+$(DESTDIR)/usr/include/vbe.h:
+ install -m 644 vbe.h $(DESTDIR)/usr/include/vbe.h
+
+$(DESTDIR)/usr/lib/libvbe.a:
+ install -m 644 libvbe.a $(DESTDIR)/usr/lib/libvbe.a
+
+clean:
+ $(RM) $(TARGETS) *.o core