Added standard entries
This commit is contained in:
parent
876369b2f1
commit
424337507d
1 changed files with 29 additions and 6 deletions
|
@ -1,6 +1,13 @@
|
||||||
EM=../../..
|
|
||||||
EMH=$(EM)/h
|
EMHOME=../../..
|
||||||
EML=$(EM)/lib
|
EMH=$(EMHOME)/h
|
||||||
|
EMLIB=$(EMHOME)/lib
|
||||||
|
SHARE=../share
|
||||||
|
|
||||||
|
LDFLAGS=-i
|
||||||
|
CPPFLAGS=-DVERBOSE -DNOTCOMPACT
|
||||||
|
CFLAGS=$(CPPFLAGS) -O
|
||||||
|
LINTFLAGS=-phbac
|
||||||
|
|
||||||
SRC=\
|
SRC=\
|
||||||
types.h def.h debug.h debug.c global.h global.c files.h files.c go.h go.c\
|
types.h def.h debug.h debug.c global.h global.c files.h files.c go.h go.c\
|
||||||
|
@ -19,6 +26,9 @@ classdefs.h pop_push.h wordlen.h alloc.o cset.o debug.o files.o go.o\
|
||||||
global.o lset.o map.o parser.o get.o put.o aux.o stack_chg.o locals.o\
|
global.o lset.o map.o parser.o get.o put.o aux.o stack_chg.o locals.o\
|
||||||
init_glob.o
|
init_glob.o
|
||||||
|
|
||||||
|
install: all
|
||||||
|
|
||||||
|
cmp: all
|
||||||
|
|
||||||
em_files:\
|
em_files:\
|
||||||
classdefs.h pop_push.h wordlen.h alloc.m cset.m debug.m\
|
classdefs.h pop_push.h wordlen.h alloc.m cset.m debug.m\
|
||||||
|
@ -29,6 +39,7 @@ classdefs.h: \
|
||||||
makeclassdef \
|
makeclassdef \
|
||||||
cldefs.src
|
cldefs.src
|
||||||
makeclassdef $(EMH)/em_mnem.h cldefs.src > classdefs.h
|
makeclassdef $(EMH)/em_mnem.h cldefs.src > classdefs.h
|
||||||
|
|
||||||
makeclassdef: \
|
makeclassdef: \
|
||||||
makecldef.c
|
makecldef.c
|
||||||
$(CC) -o makeclassdef makecldef.c
|
$(CC) -o makeclassdef makecldef.c
|
||||||
|
@ -40,17 +51,29 @@ pop_push.h: \
|
||||||
wordlen.h: makewordlen
|
wordlen.h: makewordlen
|
||||||
makewordlen > wordlen.h
|
makewordlen > wordlen.h
|
||||||
rm makewordlen
|
rm makewordlen
|
||||||
|
|
||||||
makewordlen: makewlen.c
|
makewordlen: makewlen.c
|
||||||
$(CC) -o makewordlen makewlen.c
|
$(CC) -o makewordlen makewlen.c
|
||||||
|
|
||||||
show: \
|
show: \
|
||||||
show.c
|
show.c
|
||||||
$(CC) -o show show.c $(EML)/em_data.a
|
$(CC) -o show show.c $(EMLIB)/em_data.a
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr $(PRFILES)
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f makeclassdef classdefs.h makewordlen wordlen.h pop_push.h *.o Out out nohup.out *.m
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
|
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
|
||||||
|
|
||||||
pr: $(PRFILES)
|
print: $(PRFILES)
|
||||||
@pr $?
|
@pr $?
|
||||||
@touch pr
|
@touch print
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(SHR)/makedepend
|
$(SHR)/makedepend
|
||||||
|
|
Loading…
Add table
Reference in a new issue