summaryrefslogtreecommitdiff
path: root/tests/modetest/Makefile
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-11-19 10:54:11 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-11-19 10:54:11 -0800
commit8f5d8ba97e82072b2403bff0bf836a09640108a6 (patch)
tree97ccea2a0ea8cf102921c77dd4839d76cc0647d3 /tests/modetest/Makefile
parent965b4d662a5236ee5aeb94a70f62565b6ed5644c (diff)
Update modetest
Diffstat (limited to 'tests/modetest/Makefile')
-rw-r--r--tests/modetest/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/modetest/Makefile b/tests/modetest/Makefile
new file mode 100644
index 00000000..8583ae82
--- /dev/null
+++ b/tests/modetest/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: modetest.c
+ gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../libdrm/intel -I../../shared-core -L../../libdrm/.libs -L../../libdrm/intel/.libs -ldrm -ldrm_intel modetest.c
+
+clean:
+ @rm -f app
+
+run: app
+ sudo ./test