Use a different name for the object file, to avoid make getting confused
This commit is contained in:
parent
07e7da31de
commit
092e82d80a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user