projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a manual page.
[super-star-trek.git]
/
makefile
diff --git
a/makefile
b/makefile
index b459f7e8f9d40c6aeeacd163dabc60c54a2d3bb6..2b7f50da79345e440d6ff6ab01bafec11f72e440 100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-3,9
+3,11
@@
CFLAGS= -O -g
.c.o:
$(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
-OFILES= sst.o finish.o reports.o setup.o linux.o moving.o battle.o events.o ai.o planets.o
+CFILES= sst.c finish.c reports.c setup.c linux.c moving.c battle.c events.c ai.c planets.c
+OFILES= $(CFILES:.c=.o)
+HFILES=sst.h
-HFILES= sst.h
+SOURCES= $(CFILES) $(HFILES) sst-doc.xml TODO makehelp.py makefile sst.xml
all: sst sst.doc
all: sst sst.doc
@@
-14,6
+16,9
@@
sst: $(OFILES)
$(OFILES): $(HFILES)
$(OFILES): $(HFILES)
+sst.6: sst.xml
+ xmlto man sst.xml
+
sst-doc.txt: sst-doc.xml
xmlto --skip-validation txt sst-doc.xml
sst.doc: sst-doc.txt
sst-doc.txt: sst-doc.xml
xmlto --skip-validation txt sst-doc.xml
sst.doc: sst-doc.txt