Author: techfox9
gnu make pattern ..
Thursday, February 12th, 2009 @ 4:23 pm
Make multiple sources into targets..
.SUFFIXES: .SUFFIXES: .htm .htmt SRCS := $(wildcard *.htmt) TARGS := $(patsubst %.htmt, %.htm, ${SRCS}) all : $(TARGS) echo "-- done --" %.htm : %.htmt cpp $< | egrep -v '^\#' > $@