summaryrefslogtreecommitdiff
path: root/tests/modeprint/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.(none)>2008-07-02 13:59:19 +0200
committerJakob Bornecrantz <jakob@aurora.(none)>2008-07-02 14:01:20 +0200
commitb28d309210475b6f671af7617c779bd1d7a6810a (patch)
treee0a647f3c597795b11f7558041d71b0e50bc79f4 /tests/modeprint/Makefile
parent2b9c5719c09226a36a4a1e9869e6075b8ec08824 (diff)
tests: Improved and renamed the mode app to modeprint
Diffstat (limited to 'tests/modeprint/Makefile')
-rw-r--r--tests/modeprint/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/modeprint/Makefile b/tests/modeprint/Makefile
new file mode 100644
index 00000000..7a9c3c24
--- /dev/null
+++ b/tests/modeprint/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../../shared-core -L../../libdrm/.libs -ldrm modetest.c
+
+clean:
+ @rm -f app
+
+run: app
+ @sudo ./test