drm/tests/modefb/Makefile

15 lines
293 B
Makefile
Raw Normal View History

2008-01-27 19:12:29 -07:00
all: app
#CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
# -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
app: demo.c
2008-01-30 07:47:26 -07:00
@gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm demo.c
2008-01-27 19:12:29 -07:00
clean:
@rm -f app
run: app
sudo ./test