mirror of
https://github.com/agiacalone/super-startrek.git
synced 2024-06-10 18:30:42 +00:00
19 lines
340 B
Makefile
19 lines
340 B
Makefile
|
CFLAGS= -O -DSCORE -DCAPTURE -DCLOAKING -Wno-unused-result
|
||
|
# CFLAGS= -O -Wno-unused-result
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) $(CFLAGS) -c $<
|
||
|
|
||
|
OFILES= sst.o finish.o reports.o setup.o osx.o moving.o battle.o events.o ai.o planets.o
|
||
|
|
||
|
HFILES= sst.h
|
||
|
|
||
|
sst: $(OFILES)
|
||
|
gcc -o sst $(OFILES) -lm
|
||
|
|
||
|
clean:
|
||
|
rm $(OFILES)
|
||
|
|
||
|
$(OFILES): $(HFILES)
|
||
|
|