PRFILES = Makefile Parameters \
make.hfiles make.tokcase make.tokfile LLlex.h bits.h file_info.h \
idf.h input.h interface.h macro.h \
- class.h chtab.c char.tab expression.g $(CSRC)
+ class.h char.tab expression.g $(CSRC)
# Objects of other generated C files
GOBJ = char.o symbol2str.o
./make.hfiles Parameters
@touch hfiles
-charoffset.h char.c: chtab char.tab
- chtab -fchar.tab > char.c
+charoffset.h char.c: char.tab
+ $(EMHOME)/bin/tabgen -fchar.tab > char.c
LLfiles: $(LSRC)
$(GEN) $(GENOPTIONS) $(LSRC)
symbol2str.c: tokenname.c make.tokcase
<tokenname.c ./make.tokcase >symbol2str.c
-chtab: chtab.o
- $(CC) -o chtab chtab.o
-
# Objects needed for 'cpp'
OBJ = $(COBJ) $(LOBJ) $(GOBJ)
SRC = $(CSRC) $(LCSRC) $(GSRC)
lint -bx $(CDEFS) $(SRC) >lint.out
clean:
- rm -f $(LCSRC) $(OBJ) $(GENERATED) $(GSRC) $(GHSRC) chtab.o chtab cpp Out
+ rm -f $(LCSRC) $(OBJ) $(GENERATED) $(GSRC) $(GHSRC) cpp Out
#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
LLlex.o: LLlex.h