1998-07-20 15:02:07 +00:00
|
|
|
*** Makefile Sun Dec 10 19:21:36 1995
|
|
|
|
--- Makefile.new Wed Feb 7 22:53:33 1996
|
1994-08-30 12:55:07 +00:00
|
|
|
***************
|
1998-07-20 15:02:07 +00:00
|
|
|
** 6,14 ****
|
|
|
|
DEBUG=
|
|
|
|
CCFLAGS=-O2 $(DEFINES) $(DEBUG)
|
|
|
|
CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
|
1994-08-30 12:55:07 +00:00
|
|
|
! LDFLAGS=
|
|
|
|
! LIBS=
|
1994-10-19 15:31:19 +00:00
|
|
|
! CC= gcc
|
1994-08-30 12:55:07 +00:00
|
|
|
LD= $(CC)
|
|
|
|
DMAKE= make
|
1996-02-08 00:30:51 +00:00
|
|
|
BIN= ../bin
|
1998-07-20 15:02:07 +00:00
|
|
|
--- 3,14 ----
|
|
|
|
DEBUG=
|
|
|
|
CCFLAGS=-O2 $(DEFINES) $(DEBUG)
|
|
|
|
CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
|
1996-02-08 00:30:51 +00:00
|
|
|
! LDFLAGS=-s
|
|
|
|
! LIBS=-lcrypt
|
1994-10-19 15:31:19 +00:00
|
|
|
! CC= cc
|
1994-08-30 12:55:07 +00:00
|
|
|
LD= $(CC)
|
|
|
|
DMAKE= make
|
1996-02-08 00:30:51 +00:00
|
|
|
BIN= ../bin
|
1994-08-30 12:55:07 +00:00
|
|
|
***************
|
1996-02-08 00:30:51 +00:00
|
|
|
*** 20,25 ****
|
1998-07-20 15:02:07 +00:00
|
|
|
--- 20,27 ----
|
1994-08-30 12:55:07 +00:00
|
|
|
COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
|
|
|
|
interpret.o config.o
|
|
|
|
|
1996-02-08 00:30:51 +00:00
|
|
|
+ all: a.out comp/a.out
|
|
|
|
+
|
|
|
|
a.out: $(OBJ) always
|
1994-08-30 12:55:07 +00:00
|
|
|
cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
|
|
|
|
cd lex; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
|
1996-02-08 00:30:51 +00:00
|
|
|
***************
|
|
|
|
*** 38,44 ****
|
|
|
|
-mv $(BIN)/driver $(BIN)/driver.old
|
|
|
|
cp a.out $(BIN)/driver
|
1994-10-19 15:31:19 +00:00
|
|
|
|
1996-02-08 00:30:51 +00:00
|
|
|
! install: $(BIN)/driver
|
|
|
|
|
|
|
|
comp.sub: $(COMPOBJ)
|
|
|
|
@for i in $(COMPOBJ); do echo ../$$i; done > comp.sub
|
1998-07-20 15:02:07 +00:00
|
|
|
--- 40,50 ----
|
1996-02-08 00:30:51 +00:00
|
|
|
-mv $(BIN)/driver $(BIN)/driver.old
|
|
|
|
cp a.out $(BIN)/driver
|
|
|
|
|
|
|
|
! $(BIN)/precomp: comp/a.out
|
|
|
|
! -mv $(BIN)/precomp $(BIN)/precomp.old
|
|
|
|
! cp comp/a.out $(BIN)/precomp
|
|
|
|
!
|
|
|
|
! install: $(BIN)/driver $(BIN)/precomp
|
|
|
|
|
|
|
|
comp.sub: $(COMPOBJ)
|
|
|
|
@for i in $(COMPOBJ); do echo ../$$i; done > comp.sub
|
1994-08-30 12:55:07 +00:00
|
|
|
***************
|
1996-02-08 00:30:51 +00:00
|
|
|
*** 54,60 ****
|
1994-08-30 12:55:07 +00:00
|
|
|
|
|
|
|
comp/a.out:
|
|
|
|
cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \
|
|
|
|
! 'LIBS=$(LIBS)' a.out
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f a.out $(OBJ) comp.sub lex.sub ed.sub
|
1998-07-20 15:02:07 +00:00
|
|
|
--- 60,66 ----
|
1994-08-30 12:55:07 +00:00
|
|
|
|
|
|
|
comp/a.out:
|
|
|
|
cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \
|
|
|
|
! 'LDFLAGS=$(LDFLAGS)' 'LIBS=$(LIBS)' a.out
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f a.out $(OBJ) comp.sub lex.sub ed.sub
|