diff options
-rw-r--r-- | sys/arch/sun3/conf/Makefile.sun3 | 6 |
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 . |