eobish
diff Makefile @ 2:cdbcae5b3b98
added fblib
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 18 Jan 2015 03:16:37 +0200 |
parents | 465ca72c9657 |
children | c02579c0a6c6 |
line diff
1.1 --- a/Makefile Sat Jan 17 18:40:49 2015 +0200 1.2 +++ b/Makefile Sun Jan 18 03:16:37 2015 +0200 1.3 @@ -3,7 +3,12 @@ 1.4 obj = $(csrc:.c=.o) $(ccsrc:.cc=.o) 1.5 bin = eobish 1.6 1.7 -CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl` 1.8 +warn = -pedantic -Wall 1.9 +opt = -O0 1.10 +dbg = -g 1.11 +def = -DFBLIB_SDL 1.12 + 1.13 +CFLAGS = $(warn) $(opt) $(dbg) $(def) `pkg-config --cflags sdl` 1.14 CXXFLAGS = $(CFLAGS) 1.15 LDFLAGS = `pkg-config --libs sdl` 1.16