33 lines
601 B
Makefile
33 lines
601 B
Makefile
SUF=o
|
|
EMHOME=../../..
|
|
MAKEFILE=Makefile
|
|
MACHDEF="MACH=sun3" "SUF=$(SUF)" "ASAR=aal" "DEFS=-DNFS"
|
|
PREF=ac
|
|
SUB=
|
|
LIBC="PREF=$(PREF)" "SUB=$(SUB)"
|
|
OLIB=tail_$(PREF)$(SUB)
|
|
|
|
install: cplibc
|
|
|
|
cplibc:
|
|
cp $(EMHOME)/lang/cem/libcc.ansi/libsrc .
|
|
tar xf libsrc
|
|
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" tailcp
|
|
|
|
cmp: cmplibc
|
|
|
|
cmplibc:
|
|
cp $(EMHOME)/lang/cem/libcc.ansi/libsrc .
|
|
tar xf libsrc
|
|
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" tail
|
|
-../../compare $(OLIB)
|
|
|
|
clean:
|
|
rm -rf `cat LIST` LIST MakeArch Makefile make.proto libsrc
|
|
|
|
opr:
|
|
make pr | opr
|
|
|
|
pr:
|
|
@pr makefile
|