Files
pcas/src/toolsComm/flex/Makefile
2001-06-07 14:26:06 +00:00

48 lines
746 B
Makefile

TOP=../../..
include $(TOP)/configure/CONFIG
HOST_WARN=NO
YACC = $(EYACC)
YACCOPT = -l -d
SKELETON_FILE=include/flex.skel.static
# ARCH_CLASS hp700 needs special flags,
# everything else uses DEFAULT:
#
USR_CPPFLAGS_DEFAULT := -DUSG
USR_CPPFLAGS_hp700 := -DSCO_UNIX
# This applies to all arch.classes:
#
ifndef BORLANDC
USR_CPPFLAGS = -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\"
endif
INC += flex.skel.static
# main.c is included in parse.c
#
SRCS += ccl.c
SRCS += dfa.c
SRCS += ecs.c
SRCS += gen.c
SRCS += misc.c
SRCS += nfa.c
SRCS += sym.c
SRCS += tblcmp.c
SRCS += parse.c
PROD_HOST = e_flex
include $(TOP)/configure/RULES
clean::
$(RM) parse.c parse.h
depends: $(INSTALL_PROD)
# EOF Makefile.Host for base/src/toolsComm/flex