waldi_homepage/Makefile
2014-06-26 10:44:09 +02:00

15 lines
232 B
Makefile

CC=gcc
CFLAGS=-x c -E -P
SOURCES:=$(wildcard *.tmpl)
INCLUDES:=$(wildcard *.incl)
OBJS:=$(patsubst %.tmpl, %.html, $(SOURCES))
all: $(OBJS)
%.html: %.tmpl $(INCLUDES)
$(CC) $(CFLAGS) -o $@ $<
.PHONY: clean
clean:
rm -f *.html