projects
/
winnie
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added struct subsys so that we know each
[winnie]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a132c3f
..
24b1989
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-7,7
+7,7
@@
dbg = -g
opt = -O0
inc = -Isrc
opt = -O0
inc = -Isrc
-#backend = SDL
+backend = SDL
ifeq ($(backend), SDL)
def = -DWINNIE_SDL
ifeq ($(backend), SDL)
def = -DWINNIE_SDL
@@
-18,7
+18,7
@@
endif
CXX = g++
CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc) $(def) `freetype-config --cflags`
CXX = g++
CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc) $(def) `freetype-config --cflags`
-LDFLAGS = $(libs) `freetype-config --libs`
+LDFLAGS = $(libs) `freetype-config --libs` -lrt
$(bin): $(obj)
$(CXX) -o $@ $(obj) $(LDFLAGS)
$(bin): $(obj)
$(CXX) -o $@ $(obj) $(LDFLAGS)