summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-14 21:45:26 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-14 21:45:26 +0000
commit047dbc1820f79eca21ce3c36f78584ce5c5769dd (patch)
tree22f7d64105c90aa4f7b92fa003c7df29946fe654
parentc2623ea65d5a364be89b4cceedc71a7fc30c3c25 (diff)
make things get out-of-date if genassym.c is touched
-rw-r--r--sys/arch/sun3/conf/Makefile.sun36
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3
index 807c5b8423f..60210a10945 100644
--- a/sys/arch/sun3/conf/Makefile.sun3
+++ b/sys/arch/sun3/conf/Makefile.sun3
@@ -112,10 +112,12 @@ assym.h: genassym
# the compiler used as HOSTED_CC (must match the native compiler).
# Often this is not possible at all, and you just have to build
# the assym.h file by hand on some other machine. -gwr
-genassym: ${SUN3}/sun3/genassym.c
- ${CC} ${CPPFLAGS} -E $< > $@.i
+genassym: genassym.i
${HOSTED_CC} -o $@ $@.i
+genassym.i: ${SUN3}/sun3/genassym.c
+ ${CC} ${CPPFLAGS} -E ${SUN3}/sun3/genassym.c > $@
+
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .