summaryrefslogtreecommitdiff
path: root/tests/mode/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/mode/Makefile
parente04d942ee8e74fce90e332446e740a100d782033 (diff)
Updated test mode and added modedemo
Diffstat (limited to 'tests/mode/Makefile')
-rw-r--r--tests/mode/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/mode/Makefile b/tests/mode/Makefile
index a3d3b49a..7a9c3c24 100644
--- a/tests/mode/Makefile
+++ b/tests/mode/Makefile
@@ -1,11 +1,14 @@
-all: modetest
+all: app
#CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
# -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
-modetest: modetest.c
- @gcc $(CFLAGS) -o modetest -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm modetest.c
+app: modetest.c
+ @gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm modetest.c
clean:
- @rm -f modetest
+ @rm -f app
+
+run: app
+ @sudo ./test