summaryrefslogtreecommitdiff
path: root/libdrm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm/Makefile')
-rw-r--r--libdrm/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/libdrm/Makefile b/libdrm/Makefile
new file mode 100644
index 00000000..cc62b54a
--- /dev/null
+++ b/libdrm/Makefile
@@ -0,0 +1,12 @@
+SOURCES = xf86drm.c xf86drmCompat.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c
+OBJECTS = xf86drm.o xf86drmCompat.o xf86drmHash.o xf86drmRandom.o xf86drmSL.o
+
+libxf86drm.a: $(OBJECTS)
+ ar rc $@ $+
+ ranlib $@
+
+$(OBJECTS): $(SOURCES)
+ gcc -c -I../shared -I../linux $+
+
+clean:
+ rm *.a *.o