diff options
author | David J. MacKenzie <djm@gnu.org> | 1994-09-20 18:05:10 +0000 |
---|---|---|
committer | David J. MacKenzie <djm@gnu.org> | 1994-09-20 18:05:10 +0000 |
commit | 8a5debe76402e6a309ac52594c25eccc62691c7b (patch) | |
tree | 4a84dd94ba2e62a596db74fc700c2e3d36f3f4da /compile.am | |
parent | 5a10818d1379849bfc90964fd13bf7df4609120e (diff) | |
download | automake-8a5debe76402e6a309ac52594c25eccc62691c7b.tar.gz |
fix little bugs
Diffstat (limited to 'compile.am')
-rw-r--r-- | compile.am | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/compile.am b/compile.am index aeb40bfab..f1f7c2705 100644 --- a/compile.am +++ b/compile.am @@ -2,14 +2,20 @@ .c.o: $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< -.krc.kro: - cp $< krtmp$$.c && \ - $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) krtmp$$.c && \ - mv krtmp$$.o $@ - .c.krc: $(ANSI2KNR) $< > $@ .h.krh: $(ANSI2KNR) $< > $@ +.krc.kro: + cp $< krtmp$$.c && \ + $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) krtmp$$.c && \ + mv krtmp$$.o $@ + +.c.kro: + $(ANSI2KNR) $< > $*.krc + cp $*.krc krtmp$$.c && \ + $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) krtmp$$.c && \ + mv krtmp$$.o $@ + |