summaryrefslogtreecommitdiff
path: root/tests/modeprint/Makefile
diff options
context:
space:
mode:
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..70788dc9
--- /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: modeprint.c
+ @gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm modeprint.c
+
+clean:
+ @rm -f app
+
+run: app
+ @sudo ./test