X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=makefile;h=4aa098e9a51a91e5f8aa5335a86f5dbfaebfe95b;hp=e37d4464ebfc43dc3469650d8d761847d795735e;hb=8b0a1880ee115e281afe83e1cd0c90e3306dfed8;hpb=a67634b9dc32d47cba5f75341bff2349d9ebbbcf diff --git a/makefile b/makefile index e37d446..4aa098e 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ CFLAGS= -O1 -g -Wall -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 sstlinux.c conio.c +CFILES= sst.c finish.c reports.c setup.c moving.c battle.c events.c ai.c planets.c io.c sstlinux.c OFILES= $(CFILES:.c=.o) HFILES=sst.h DOCS = README sst-doc.xml sst.xml sst-layer.xsl TODO @@ -18,16 +18,16 @@ SOURCES= $(CFILES) $(HFILES) $(DOCS) sst.doc sst.6 makehelp.py makefile sst.spec all: sst sst.doc ai.o: ai.c sst.h -battle.o: battle.c conio.h sst.h +battle.o: battle.c sst.h conio.o: conio.c conio.h events.o: events.c sst.h finish.o: finish.c sst.h -io.o: io.c conio.h sst.h -moving.o: moving.c sstlinux.h conio.h sst.h +io.o: io.c sst.h +moving.o: moving.c sstlinux.h sst.h planets.o: planets.c sst.h reports.o: reports.c sst.h conio.h -setup.o: setup.c conio.h sst.h -sst.o: sst.c conio.h sstlinux.h sst.h +setup.o: setup.c sst.h +sst.o: sst.c sstlinux.h sst.h sstlinux.o: sstlinux.c sstlinux.h sst: $(OFILES) @@ -39,12 +39,12 @@ sst.6: sst.xml xmlto --skip-validation man sst.xml sst-doc.txt: sst-doc.xml - xmlto -m sst-layer.xsl --skip-validation txt sst-doc.xml + xmlto -m sst-layer.xsl txt sst-doc.xml sst.doc: sst-doc.txt makehelp.py >sst.doc sst-doc.html: sst-doc.xml - xmlto --skip-validation xhtml-nochunks sst-doc.xml + xmlto xhtml-nochunks sst-doc.xml install: uninstall sst.6 sst.doc sst-doc.html install -m 755 -o 0 -g 0 -d $(ROOT)/usr/bin/