aboutsummaryrefslogtreecommitdiff
path: root/tests/modedemo/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.(none)>2008-01-10 05:03:13 +0100
committerJakob Bornecrantz <jakob@aurora.(none)>2008-01-10 05:03:13 +0100
commit0a4df3372aec219298e3787f6f377941bc51bfcb (patch)
tree4f39a17102927474030d399a5aac99efd3fa9a04 /tests/modedemo/Makefile
parente04d942ee8e74fce90e332446e740a100d782033 (diff)
Updated test mode and added modedemo
Diffstat (limited to 'tests/modedemo/Makefile')
-rw-r--r--tests/modedemo/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/modedemo/Makefile b/tests/modedemo/Makefile
new file mode 100644
index 00000000..467fb11a
--- /dev/null
+++ b/tests/modedemo/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