-CFLAGS= -O
+CFLAGS= -O -g
.c.o:
$(CC) $(CFLAGS) -c $<
HFILES= sst.h
+all: sst sst.doc
+
sst: $(OFILES)
gcc -o sst $(OFILES) -lm
$(OFILES): $(HFILES)
+sst-doc.txt:
+ xmlto --skip-validation txt sst-doc.xml
+sst.doc: sst-doc.txt
+ makehelp.py >sst.doc
+
clean:
- rm -f *.o sst
+ rm -f *.o sst sst-doc.txt sst.doc