drm/tests/modeprint/Makefile

15 lines
302 B
Makefile
Raw Normal View History

2007-09-24 06:53:10 -06:00
2008-01-09 21:03:13 -07:00
all: app
2007-09-24 06:53:10 -06:00
#CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
# -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
2008-01-09 21:03:13 -07:00
app: modetest.c
@gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm modetest.c
2007-09-24 06:53:10 -06:00
clean:
2008-01-09 21:03:13 -07:00
@rm -f app
run: app
@sudo ./test