projects
/
eradicate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed keyboard handler to translate extended scancodes
[eradicate]
/
GNUmakefile
diff --git
a/GNUmakefile
b/GNUmakefile
index
6bc3c69
..
817daff
100644
(file)
--- a/
GNUmakefile
+++ b/
GNUmakefile
@@
-1,13
+1,13
@@
-csrc = $(wildcard src/*.c) $(wildcard src/sdl/*.c)
+csrc = $(wildcard src/*.c) $(wildcard src/sdl/*.c) $(wildcard src/3dgfx/*.c)
obj = $(csrc:.c=.o)
dep = $(obj:.o=.d)
bin = game
obj = $(csrc:.c=.o)
dep = $(obj:.o=.d)
bin = game
-inc = -Isrc -Isrc/sdl
+inc = -Isrc -Isrc/sdl -Isrc/3dgfx -Ilibs/imago/src
CFLAGS = $(arch) -pedantic -Wall -g -MMD $(inc) `sdl-config --cflags`
CFLAGS = $(arch) -pedantic -Wall -g -MMD $(inc) `sdl-config --cflags`
-LDFLAGS = $(arch) -Llibs/imago -limago `sdl-config --libs` -lm
+LDFLAGS = $(arch) -Llibs/imago -limago $(sdl_ldflags) -lm
ifneq ($(shell uname -m), i386)
arch = -m32
ifneq ($(shell uname -m), i386)
arch = -m32