Modified to use harbour.sly rather than harbour.y when using SimpLex.

This commit is contained in:
Ron Pinkas
2000-09-19 17:27:51 +00:00
parent df03398e17
commit a3c43d0a26
2 changed files with 12 additions and 0 deletions

View File

@@ -8,6 +8,10 @@ C_MAIN_OBJ = $(C_MAIN:.c=$(OBJ_EXT))
ifdef YACC_SOURCE
YACC_BASE = $(YACC_SOURCE:.y=)
#must be harbour.sly
ifeq ($(YACC_BASE),$(YACC_SOURCE))
YACC_BASE = $(YACC_SOURCE:.sly=)
endif
YACC_C = $(YACC_BASE)y.c
YACC_H_TMP = $(YACC_C:.c=.h)
YACC_H = y_tab.h

View File

@@ -4,8 +4,16 @@
ROOT = ../../
ifeq ($(HB_LEX),SIMPLEX)
YACC_SOURCE=harbour.sly
else
YACC_SOURCE=harbour.y
endif
YACC_HEADERS=\
hbcomp.h \
hbsetup.h \