Albert Koelmans newest version

This commit is contained in:
ceriel 1990-11-13 11:53:52 +00:00
parent ff117d9f0b
commit c3d7275ae8
2 changed files with 11 additions and 5 deletions

View file

@ -1,11 +1,12 @@
SUF=s
SUF=so
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=acc -marm -DNOFLOAT" "SUF=$(SUF)"
MACHDEF="MACH=arm" "SUF=$(SUF)"
STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio"
GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen"
MON="PREF=mon" "SRC=lang/cem/libcc/mon"
LIBM="PREF=m" "SRC=lang/cem/libcc/math"
install: cpstdio cpgen
install: cpstdio cpgen cpmon cplibm
cpstdio:
make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tailcp
@ -13,8 +14,10 @@ cpgen:
make -f $(MAKEFILE) $(GEN) $(MACHDEF) cp
cpmon:
make -f $(MAKEFILE) $(MON) $(MACHDEF) tailcp
cplibm:
make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tailcp
cmp: cmpstdio cmpgen cmpmon
cmp: cmpstdio cmpgen cmpmon cmplibm
cmpstdio:
make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tail
@ -27,6 +30,9 @@ cmpgen:
cmpmon:
make -f $(MAKEFILE) $(MON) $(MACHDEF) tail
-../../compare tail_mon
cmplibm:
make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tail
-../../compare tail_m
clean:
-rm -f *.old *.[ce$(SUF)] tail* head*

View file

@ -1,6 +1,6 @@
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
then
echo `basename $1 $2`.s
echo `basename $1 $2`.so
else
exit 1
fi