X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=makefile;h=2b7f50da79345e440d6ff6ab01bafec11f72e440;hp=5ca423b9ba6fda6e1d96f43ebdabcece5773eaa6;hb=546c3eac5680f10eb3d08962a151e37cda548e69;hpb=4df73495bbade3ebd8b03d68f838f67dd717db8f diff --git a/makefile b/makefile index 5ca423b..2b7f50d 100644 --- a/makefile +++ b/makefile @@ -3,9 +3,11 @@ CFLAGS= -O -g .c.o: $(CC) $(CFLAGS) -c $< -OFILES= sst.o finish.o reports.o setup.o linux.o moving.o battle.o events.o ai.o planets.o +CFILES= sst.c finish.c reports.c setup.c linux.c moving.c battle.c events.c ai.c planets.c +OFILES= $(CFILES:.c=.o) +HFILES=sst.h -HFILES= sst.h +SOURCES= $(CFILES) $(HFILES) sst-doc.xml TODO makehelp.py makefile sst.xml all: sst sst.doc @@ -14,7 +16,10 @@ sst: $(OFILES) $(OFILES): $(HFILES) -sst-doc.txt: +sst.6: sst.xml + xmlto man sst.xml + +sst-doc.txt: sst-doc.xml xmlto --skip-validation txt sst-doc.xml sst.doc: sst-doc.txt makehelp.py >sst.doc