diff options
Diffstat (limited to 'sim/sh/Makefile.in')
-rw-r--r-- | sim/sh/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in index d116a30..54f1e0a 100644 --- a/sim/sh/Makefile.in +++ b/sim/sh/Makefile.in @@ -39,9 +39,11 @@ table.c: gencode ppi.c: gencode ./gencode -p >ppi.c -gencode: gencode.c - $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $(WARN_CFLAGS) \ - -o gencode $(srcdir)/gencode.c +gencode.o: gencode.c + $(COMPILE_FOR_BUILD) -c $< -o $@ + +gencode: gencode.o + $(LINK_FOR_BUILD) $^ sh-clean: rm -f gencode code.c table.c |