various fixes to makefile

This commit is contained in:
eck 1990-01-03 16:42:36 +00:00
parent 4bb598c9ad
commit a8f0aa6016

View file

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