diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,8 +1,8 @@ CC = gcc -CFLAGS = -ggdb -std=c99 -pedantic -Wall \ +CFLAGS = -ggdb -std=c99 -pedantic -Wall $(DEFINES) \ $(shell pkg-config --cflags gdk-pixbuf-2.0 glib-2.0 gthread-2.0) \ -DN_THREADS=$(shell grep -c ^processor /proc/cpuinfo || echo 2) -LDFLAGS = -lm \ +LDFLAGS = $(LIBS) -lm \ $(shell pkg-config --libs gdk-pixbuf-2.0 glib-2.0 gthread-2.0) PROGS = wimmel wimmel_gl @@ -23,9 +23,7 @@ wimmel_gl: wimmel_gl.o util.o wimmel_gl: - $(CC) `pkg-config --cflags --libs gtk+-2.0 glib-2.0 egl gl` -o $@ $+ - - + $(CC) $(LDFLAGS) `pkg-config --cflags --libs egl gl` -o $@ $+ clean: rm -f $(PROGS) $(OBJS) |