15 lines
360 B
Makefile
15 lines
360 B
Makefile
|
|
||
|
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../../libdrm/intel -I../../shared-core -L../../libdrm/.libs -L../../libdrm/intel/.libs -ldrm -ldrm_intel modetest.c
|
||
|
|
||
|
clean:
|
||
|
@rm -f app
|
||
|
|
||
|
run: app
|
||
|
sudo ./test
|