Files
harbour-core/harbour/source/macro/Makefile
2000-08-01 16:17:13 +00:00

53 lines
692 B
Makefile

#
# $Id$
#
ROOT = ../../
YACC_FLAGS = -p hb_comp
YACC_SOURCE=macro.y
YACC_HEADERS=\
hbmacro.h \
hbsetup.h \
hbpcode.h \
hbdefs.h \
ifeq ($(HB_LEX),SIMPLEX)
C_EXTRA=macroslx.c
else
#NOTE: You can pass additional parameters that control the speed/size
# ratio of generated flex scanner. These parameters are:
# -Cf - fastest/biggest
# -CF
# -C - in between
# -Cm
# -Ce
# -Cem - slowest/smallest
# see Flex documentation for full set of switches
LEX_FLAGS = -Phb_comp -C
LEX_SOURCE=macro.l
LEX_HEADERS=\
hbsetup.h \
hberrors.h \
hbdefs.h \
hbmacro.h \
endif
C_SOURCES=\
macroa.c \
macrob.c \
macroc.c \
$(C_EXTRA)
LIBNAME=macro
include $(TOP)$(ROOT)config/lib.cf