mirror of
https://github.com/agiacalone/super-startrek.git
synced 2025-01-19 15:59:06 -05: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)
|
|
|