Magic-constent elimination (use an enum instead.
[super-star-trek.git] / makefile
1 CFLAGS=     -O
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 sst:  $(OFILES)
11         gcc  -o sst $(OFILES) -lm
12
13 $(OFILES):  $(HFILES)
14
15 clean:
16         rm -f *.o sst
17