OSDN Git Service

tests: Improved and renamed the mode app to modeprint
[android-x86/external-libdrm.git] / tests / modeprint / Makefile
1
2 all: app
3
4 #CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
5 #        -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
6
7 app: modetest.c
8         @gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm modetest.c
9
10 clean:
11         @rm -f app
12
13 run: app
14         @sudo ./test