X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=makefile;h=b459f7e8f9d40c6aeeacd163dabc60c54a2d3bb6;hp=59efa674f7b46fc22e82dee0689d894ce571d04a;hb=d5826a672dd4afc591476655b4905cb6542cd89c;hpb=f14a35629e403d9b2cd4e406e80666671fd2a594 diff --git a/makefile b/makefile index 59efa67..b459f7e 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -CFLAGS= -O +CFLAGS= -O -g .c.o: $(CC) $(CFLAGS) -c $< @@ -7,11 +7,18 @@ OFILES= sst.o finish.o reports.o setup.o linux.o moving.o battle.o events.o HFILES= sst.h +all: sst sst.doc + sst: $(OFILES) gcc -o sst $(OFILES) -lm $(OFILES): $(HFILES) +sst-doc.txt: sst-doc.xml + xmlto --skip-validation txt sst-doc.xml +sst.doc: sst-doc.txt + makehelp.py >sst.doc + clean: - rm -f *.o sst + rm -f *.o sst sst-doc.txt sst.doc