summaryrefslogtreecommitdiff
path: root/tests/modehotplug/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-02-07 19:25:52 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-02-07 19:25:52 +0100
commitc8b45e9362aa16fed08540996af6d0b1e2e730d0 (patch)
tree1266049cad56dc682a3d1a70ee31f2fc1c9d42be /tests/modehotplug/Makefile
parent0618ac8a07d834e469cb96818a1dfee6f50662b8 (diff)
Added userspace part of hotplug ioctl and demo
Diffstat (limited to 'tests/modehotplug/Makefile')
-rw-r--r--tests/modehotplug/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/modehotplug/Makefile b/tests/modehotplug/Makefile
new file mode 100644
index 00000000..467fb11a
--- /dev/null
+++ b/tests/modehotplug/Makefile
@@ -0,0 +1,14 @@
+
+all: app
+
+#CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
+# -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
+
+app: demo.c
+ @gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm demo.c
+
+clean:
+ @rm -f app
+
+run: app
+ sudo ./test