Use a different name for the object file, to avoid make getting confused

This commit is contained in:
Adam Sampson 2007-04-25 21:02:05 +00:00
parent 07e7da31de
commit 092e82d80a

View File

@ -26,11 +26,11 @@ $(targets): $(sources)
CFLAGS = -g -std=gnu99 -Wall `kroc --cflags` `kroc --ccincpath`
%.c: %.occ fco
%.fco.c: %.occ fco
./fco -v -o $@ $<
indent -kr -pcs $@
%: %.o fco_support.h kroc-wrapper-c.o kroc-wrapper.occ
%: %.fco.o fco_support.h kroc-wrapper-c.o kroc-wrapper.occ
kroc -o $@ kroc-wrapper.occ $< kroc-wrapper-c.o -lcif
tests = $(wildcard testcases/*.occ)