# See COPYING file for copyright, license and warranty details. NAME = spout SRC = spout.c TARGETS = $(NAME) OBJ = $(SRC:.c=.o) MAN = $(TARGETS:=.1) HEADERS = spout.h config.def.h font.h sintable.h WEB = index.html include config.mk all: $(TARGETS) $(OBJ): config.mk config.h $(HEADERS) .c.o: @echo CC $< @cc -c $(CFLAGS) $< $(TARGETS): $(OBJ) @echo LD $@ @cc -o $@ $(OBJ) $(LDFLAGS) config.h: @echo creating $@ from config.def.h @cp config.def.h $@ $(WEB): README webheader.html doap.ttl @echo making webpage @cat webheader.html > $@ @sed 5q < README | smu >> $@ @echo '![Screenshot of Spout](screenshot.png)' | smu >> $@ @echo '