Move I/O to a separate module -- first step towards curses interface.
[super-star-trek.git] / makefile
index a163b72d726ac3784ae675fe5c991a66089e3eb5..f98e173cd02512da078e185cfe200d57d834940c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -7,7 +7,7 @@ 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
@@ -31,9 +31,9 @@ sst.doc: sst-doc.txt
        makehelp.py >sst.doc
 
 sst-doc.html: sst-doc.xml
-       xmlto --skip-validation xhhtml-nochunks sst-doc.xml
+       xmlto --skip-validation xhtml-nochunks sst-doc.xml
 
-install: sst.6 uninstall
+install: uninstall sst.6 sst.doc sst-doc.html 
        install -m 755 -o 0 -g 0 -d $(ROOT)/usr/bin/
        install -m 755 -o 0 -g 0 sst $(ROOT)/usr/bin/sst
        install -m 755 -o 0 -g 0 -d $(ROOT)/usr/share/man/man6/