em?.o and C_failed.o must be at the end of the archive

This commit is contained in:
ceriel 1987-03-18 19:20:38 +00:00
parent dcf7aa2723
commit 74a1a176c5

View file

@ -40,11 +40,12 @@ cat >make.sh <<'--EOF--'
rm -f *.o
.
$a
rm -f libem$1.a
ar rc libem$1.a *.o
cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/em.c
cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/C_failed.c
mv em.o em$1.o
rm -f libem$1.a
ar rc libem$1.a *.o
ar r libem$1.a em$1.o C_failed.o
rm -f *.o
--EOF--
.