summaryrefslogtreecommitdiffstats
path: root/tools/ddcprobe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ddcprobe/Makefile')
-rw-r--r--tools/ddcprobe/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/ddcprobe/Makefile b/tools/ddcprobe/Makefile
new file mode 100644
index 000000000..e2bf84011
--- /dev/null
+++ b/tools/ddcprobe/Makefile
@@ -0,0 +1,18 @@
+CFLAGS=-Wall -O # -g -DDEBUG
+TARGETS=ddcxinfos
+
+ddcxinfos: lrmi.o vesamode.o vbe.o ddcxinfos.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