X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=makefile;h=76b167ddf19f23968bdb6e716b42c2badd7a1a49;hb=ba71f219a8543b5510a53c59ce793339b84903a7;hp=f98e173cd02512da078e185cfe200d57d834940c;hpb=25f221b092e0e9d85aa5d3e6863043f2ab4d7c43;p=super-star-trek.git diff --git a/makefile b/makefile index f98e173..76b167d 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 io.c +CFILES= sst.c finish.c reports.c setup.c moving.c battle.c events.c ai.c planets.c io.c sstlinux.c conio.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