Remove CRs.
[super-star-trek.git] / makefile
index 1d41c146bf3ae08db8fce5240c06ce9b061f7e30..78afa1cee0d6e9263dd068a0ea8cf6108e5123db 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,11 +2,7 @@
 
 VERS=$(shell sed <sst.spec -n -e '/Version: \(.*\)/s//\1/p')
 
-#ifndef SERGEEV
-CFLAGS=     -O -g -DSSTDOC='"/usr/share/doc/sst/sst.doc"'
-#else /* SERGEEV */
 CFLAGS= -O1 -g -Wall -DSSTDOC='"/usr/share/doc/sst/sst.doc"'
-#endif /* SERGEEV */
 
 .c.o:
        $(CC) $(CFLAGS) -c $<
@@ -21,6 +17,19 @@ 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
+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
+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
+sstlinux.o: sstlinux.c sstlinux.h
+
 sst:  $(OFILES)
        gcc  -o sst $(OFILES) -lm -lcurses
 
@@ -30,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/