projects
/
super-star-trek.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5ca423b9ba6fda6e1d96f43ebdabcece5773eaa6
[super-star-trek.git]
/
makefile
1
CFLAGS= -O -g
2
3
.c.o:
4
$(CC) $(CFLAGS) -c $<
5
6
OFILES= sst.o finish.o reports.o setup.o linux.o moving.o battle.o events.o ai.o planets.o
7
8
HFILES= sst.h
9
10
all: sst sst.doc
11
12
sst: $(OFILES)
13
gcc -o sst $(OFILES) -lm
14
15
$(OFILES): $(HFILES)
16
17
sst-doc.txt:
18
xmlto --skip-validation txt sst-doc.xml
19
sst.doc: sst-doc.txt
20
makehelp.py >sst.doc
21
22
clean:
23
rm -f *.o sst sst-doc.txt sst.doc
24