X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=makefile;h=b2ae6162c271ed1b87c4308844a527bc80e01ee1;hb=dcf0ba85bdb6ca44ba8739cf69acca346f5e6a1a;hp=592f4ef2e2f811fbf657a049d2c09ff5f8b3f430;hpb=5ac8c94a3ddf49203587787f3cb0d85052e51d55;p=super-star-trek.git diff --git a/makefile b/makefile index 592f4ef..b2ae616 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 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,7 +18,7 @@ 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) @@ -26,7 +26,7 @@ sst.6: sst.xml xmlto 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