also make a makecalls for code expander
This commit is contained in:
parent
7c4afedd26
commit
b0715c481b
|
@ -10,7 +10,9 @@ COMPARE = $(MODULES)/compare
|
|||
|
||||
TARGETS = libread_emk.a\
|
||||
libread_emkV.a\
|
||||
libread_emeV.a
|
||||
libread_emeV.a\
|
||||
makecallsO.o\
|
||||
makecallsCE.o
|
||||
|
||||
ESRCFILES = read_em.c\
|
||||
mkcalls.c\
|
||||
|
@ -39,6 +41,8 @@ install: all
|
|||
$(INSTALL) lib/libread_emkV.a
|
||||
$(INSTALL) lib/libread_emeV.a
|
||||
$(INSTALL) man/read_em.3
|
||||
$(INSTALL) lib/makecallsO.o
|
||||
$(INSTALL) lib/makecallsCE.o
|
||||
|
||||
cmp: all
|
||||
$(COMPARE) h/em_comp.h
|
||||
|
@ -46,6 +50,8 @@ cmp: all
|
|||
$(COMPARE) lib/libread_emkV.a
|
||||
$(COMPARE) lib/libread_emeV.a
|
||||
$(COMPARE) man/read_em.3
|
||||
$(COMPARE) lib/makecallsO.o
|
||||
$(COMPARE) lib/makecallsCE.o
|
||||
|
||||
pr:
|
||||
@pr Makefile m_C_mnem m_C_mnem_na argtype $(SRCFILES)
|
||||
|
@ -88,6 +94,14 @@ makecallsV.o: C_mnem C_mnem_narg em_comp.h mkcalls.c
|
|||
$(CC) -c $(CFLAGS) -DCHECKING mkcalls.c
|
||||
mv mkcalls.o makecallsV.o
|
||||
|
||||
makecallsO.o: C_mnem C_mnem_narg em_comp.h mkcalls.c
|
||||
$(CC) -c -DPEEPHOLE $(CFLAGS) mkcalls.c
|
||||
mv mkcalls.o makecallsO.o
|
||||
|
||||
makecallsCE.o: C_mnem C_mnem_narg em_comp.h mkcalls.c
|
||||
$(CC) -c -DCODE_EXPANDER $(CFLAGS) mkcalls.c
|
||||
mv mkcalls.o makecallsCE.o
|
||||
|
||||
C_mnem: m_C_mnem argtype
|
||||
sh m_C_mnem > C_mnem
|
||||
|
||||
|
|
Loading…
Reference in a new issue