waldi_homepage/Makefile

16 lines
232 B
Makefile
Raw Permalink Normal View History

2014-06-26 08:44:09 +00:00
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