pinosaur
/
smdp.git
/ blob
befbd529cdc7db158fd529abecdfb59483c5d79b
[smdp.git]
/
Makefile
1
CFLAGS=-g -Wall
2
3
tmp: tmp.c cstring.o markdown.o parser.o
4
cc $(CFLAGS) -o tmp tmp.c cstring.o markdown.o parser.o
5
6
parser.o: parser.c
7
cc $(CFLAGS) -c parser.c
8
9
markdown.o: markdown.c
10
cc $(CFLAGS) -c markdown.c
11
12
cstring.o: cstring.c
13
cc $(CFLAGS) -c cstring.c
14
15
all: tmp
16
17
.PHONY: test
18
19
test:
20
$(MAKE) -C test
21
22
clean:
23
rm -f tmp *.o
24