TARGETS=$(subst .c,.xnf,$(wildcard *.c)) PREPROCESS=$(subst .c,.cpp,$(wildcard *.c)) include ../Makefile.inc all: harp1.h inter $(TARGETS) inter: $(PREPROCESS) clean: rm -f *~ $(PREPROCESS) $(TARGETS) *.hwp tidy: rm -f $(TIDY_FILES) %.cpp: %.c cpp $< >$@ %.xnf: %.cpp ../hcc -ns -q $<