1 EXES := gl_basic simple-x11-egl
2 CFLAGS += -std=c99 $(shell pkg-config --cflags waffle-1)
3 LDFLAGS += $(shell pkg-config --libs waffle-1)
5 ifeq ($(shell uname),Darwin)
6 EXES := $(filter-out simple-x11-egl,$(EXES))
10 -framework CoreFoundation \
22 $(CC) $(CFLAGS) $(LDFLAGS) -o gl_basic gl_basic.c
24 simple-x11-egl: simple-x11-egl.c
25 $(CC) $(CFLAGS) $(LDFLAGS) -o simple-x11-egl simple-x11-egl.c