Mercurial > repos > blastem
comparison Makefile @ 749:6f439a197f61
Fix check for DEBUG in Makefile
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 22 Jun 2015 09:22:05 -0700 |
parents | 9d4d40f833d0 |
children | 7306b3967c51 |
comparison
equal
deleted
inserted
replaced
748:45b62d237b7b | 749:6f439a197f61 |
---|---|
22 LIBS=sdl2 glew | 22 LIBS=sdl2 glew |
23 else | 23 else |
24 LIBS=sdl2 glew gl | 24 LIBS=sdl2 glew gl |
25 endif #Darwin | 25 endif #Darwin |
26 | 26 |
27 ifdef DEBUGW | 27 ifdef DEBUG |
28 CFLAGS:=-ggdb -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration | 28 CFLAGS:=-ggdb -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration |
29 LDFLAGS:=-ggdb -lm $(shell pkg-config --libs $(LIBS)) | 29 LDFLAGS:=-ggdb -lm $(shell pkg-config --libs $(LIBS)) |
30 else | 30 else |
31 CFLAGS:=-O2 -flto -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration | 31 CFLAGS:=-O2 -flto -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration |
32 LDFLAGS:=-O2 -flto -lm $(shell pkg-config --libs $(LIBS)) | 32 LDFLAGS:=-O2 -flto -lm $(shell pkg-config --libs $(LIBS)) |