summaryrefslogtreecommitdiff
path: root/tests/mode/Makefile
blob: 7a9c3c24859c88438c4add76f93ebed2cd08517f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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