projects
/
dosdemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
let's keep screen names simpler to make it easy to use them as commandline arguments
[dosdemo]
/
GNUmakefile
1
src = $(wildcard src/*.c) $(wildcard src/sdl/*.c)
2
obj = $(src:.c=.o)
3
bin = demo
4
5
inc = -Isrc -Isrc/sdl -Ilibs/imago/src
6
7
CFLAGS = -pedantic -Wall -g $(inc) `sdl-config --cflags`
8
LDFLAGS = -Llibs/imago -limago `sdl-config --libs` -lm
9
10
$(bin): $(obj) imago
11
$(CC) -o $@ $(obj) $(LDFLAGS)
12
13
.PHONY: imago
14
imago:
15
$(MAKE) -C libs/imago
16
17
.PHONY: clean
18
clean:
19
rm -f $(obj) $(bin)