summaryrefslogtreecommitdiff
path: root/libdrm/Makefile
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-17 20:01:59 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-17 20:01:59 +0000
commit993a75a5d148cb0a93bbed677b550bfb4d57fe4a (patch)
tree9e96f2c392190e6912a1bccbd0562f04e5a7710b /libdrm/Makefile
parentf10f8821014bc7a05e8bbc9f199e0f60b1541a0e (diff)
Makefile and missing file to build libxf86drm.a
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