1987-01-13 11:01:26 +00:00
|
|
|
EMHOME=../../..
|
|
|
|
EMH=$(EMHOME)/h
|
|
|
|
EMLIB=$(EMHOME)/lib
|
1991-03-04 12:59:46 +00:00
|
|
|
MODLIB=$(EMHOME)/modules/lib
|
|
|
|
MODH=$(EMHOME)/modules/h
|
1987-01-13 11:01:26 +00:00
|
|
|
SHARE=../share
|
1991-03-04 12:59:46 +00:00
|
|
|
MODS=$(MODLIB)/libprint.a $(MODLIB)/libstring.a $(MODLIB)/libsystem.a
|
1987-01-13 11:01:26 +00:00
|
|
|
|
1991-02-19 16:51:50 +00:00
|
|
|
LDFLAGS=
|
1991-03-04 12:59:46 +00:00
|
|
|
CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH) -I$(MODH)
|
1987-01-13 11:01:26 +00:00
|
|
|
CFLAGS=$(CPPFLAGS) -O
|
1990-12-17 14:22:09 +00:00
|
|
|
LINTFLAGS=-hbu
|
1987-01-13 11:01:26 +00:00
|
|
|
|
1991-03-04 12:59:46 +00:00
|
|
|
all: em_ego
|
|
|
|
|
|
|
|
em_ego: em_ego.o
|
|
|
|
$(CC) $(LDFLAGS) -o em_ego em_ego.o $(MODS)
|
1987-01-13 11:01:26 +00:00
|
|
|
|
1991-03-04 12:59:46 +00:00
|
|
|
install: all
|
1987-01-13 11:01:26 +00:00
|
|
|
rm -f $(EMLIB)/em_ego
|
|
|
|
cp em_ego $(EMLIB)/em_ego
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-cmp em_ego $(EMLIB)/em_ego
|
|
|
|
|
|
|
|
pr:
|
1991-03-04 12:59:46 +00:00
|
|
|
@pr em_ego.c
|
1987-01-13 11:01:26 +00:00
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
1991-03-04 12:59:46 +00:00
|
|
|
lint:
|
|
|
|
lint $(LINTFLAGS) $(CPPFLAGS) em_ego.c
|
1987-01-13 11:01:26 +00:00
|
|
|
|
1991-03-04 12:59:46 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.o em_ego
|