Fixed performance consultant to prevent call graph based searches from
[dyninst.git] / igen / make.module.tmpl
1 #
2 # Common makefile template for igen.  This file is not intended to
3 # be a useful Makefile in isolation; instead, it should be included
4 # from within an architecture-specific Makefile.
5 #
6 # $Id: make.module.tmpl,v 1.7 1998/04/01 02:51:50 wylie Exp $
7 #
8
9 USES_FLEX = true
10
11 TARGET        = igen
12
13 SRCS         += ../src/main.C \
14                 parser.C \
15                 scanner.C \
16                 ../src/interface_spec.C \
17                 ../src/templates.C 
18
19 LIBS         += -lpdutil
20 SYSLIBS      += $(FLEX_LIB)
21
22 ifdef CROSSCOMPILER
23 SYSLIBS      += -lstdc++
24 endif
25
26 CXXFLAGS       += $(USEFULWARNINGS) 
27
28 all:    $(TARGET)
29
30 templates.o: ../src/templates.C 
31         $(CXX) $(TFLAGS) $(USEFULWARNINGS) -c ../src/templates.C