projects
/
dosdemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fractal effect is cooking
[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
6
7
CFLAGS = -pedantic -Wall -g $(inc) `sdl-config --cflags`
8
LDFLAGS = `sdl-config --libs` -lm
9
10
$(bin): $(obj)
11
$(CC) -o $@ $(obj) $(LDFLAGS)
12
13
.PHONY: clean
14
clean:
15
rm -f $(obj) $(bin)