blob: 4691809a8cb02ffe5a60d4a70b983673ca42ad5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
*** Makefile Mon Jul 20 09:19:39 1998
--- Makefile.new Mon Jul 20 09:23:57 1998
***************
*** 6,24 ****
DEBUG=
CCFLAGS=-O2 $(DEFINES) $(DEBUG)
CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
! LDFLAGS=
! LIBS=
! CC= gcc
LD= $(CC)
DMAKE= make
BIN= ../bin
OBJ= alloc.o error.o hash.o swap.o str.o array.o object.o data.o path.o \
! editor.o comm.net.o call_out.o interpret.o config.o dgd.o
EDOBJ= alloc.o error.o
LEXOBJ= alloc.o hash.o
COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
! interpret.o config.o
a.out: $(OBJ) always
cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
--- 6,26 ----
DEBUG=
CCFLAGS=-O2 $(DEFINES) $(DEBUG)
CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
! LDFLAGS=-s
! LIBS=-lcrypt -lgnuregex
! CC= cc
LD= $(CC)
DMAKE= make
BIN= ../bin
OBJ= alloc.o error.o hash.o swap.o str.o array.o object.o data.o path.o \
! editor.o comm.net.o call_out.o interpret.o config.o dgd.o rgx.o
EDOBJ= alloc.o error.o
LEXOBJ= alloc.o hash.o
COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
! interpret.o config.o rgx.o
!
! all: a.out comp/a.out
a.out: $(OBJ) always
cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
***************
*** 38,44 ****
-mv $(BIN)/driver $(BIN)/driver.old
cp a.out $(BIN)/driver
! install: $(BIN)/driver
comp.sub: $(COMPOBJ)
@for i in $(COMPOBJ); do echo ../$$i; done > comp.sub
--- 40,50 ----
-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
***************
*** 54,60 ****
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
--- 60,66 ----
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
***************
*** 92,94 ****
--- 98,101 ----
call_out.o config.o dgd.o: call_out.h
error.o comm.o call_out.o config.o dgd.o: comm.h
config.o: version.h
+ rgx.o: str.h array.h rgx.h interpret.h
|