X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=makefile;h=c9c42b183eeb64acbd106b0a6eb8934854b5dfbb;hb=998ff9c48426dd89c25b56ab59a0c8e2b6986355;hp=0a0f9ffc185bb3c9959c2ec1c9649fef82f2ce32;hpb=03ea69145938e4b01e7efc6be80a543bad1739c7;p=super-star-trek.git diff --git a/makefile b/makefile index 0a0f9ff..c9c42b1 100644 --- a/makefile +++ b/makefile @@ -7,10 +7,10 @@ CFLAGS= -O -g -DSSTDOC='"/usr/share/doc/sst/sst.doc"' .c.o: $(CC) $(CFLAGS) -c $< -CFILES= sst.c finish.c reports.c setup.c linux.c moving.c battle.c events.c ai.c planets.c +CFILES= sst.c finish.c reports.c setup.c moving.c battle.c events.c ai.c planets.c io.c OFILES= $(CFILES:.c=.o) HFILES=sst.h -DOCS = README sst-doc.xml sst.xml TODO +DOCS = README sst-doc.xml sst.xml sst-layer.xsl TODO # sst.doc and sst.6 are included so target system won't need xmlto SOURCES= $(CFILES) $(HFILES) $(DOCS) sst.doc sst.6 makehelp.py makefile sst.spec @@ -18,15 +18,15 @@ SOURCES= $(CFILES) $(HFILES) $(DOCS) sst.doc sst.6 makehelp.py makefile sst.spec all: sst sst.doc sst: $(OFILES) - gcc -o sst $(OFILES) -lm + gcc -o sst $(OFILES) -lm -lcurses $(OFILES): $(HFILES) sst.6: sst.xml - xmlto man sst.xml + xmlto --skip-validation man sst.xml sst-doc.txt: sst-doc.xml - xmlto --skip-validation txt sst-doc.xml + xmlto -m sst-layer.xsl --skip-validation txt sst-doc.xml sst.doc: sst-doc.txt makehelp.py >sst.doc