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.
6 # $Log: nmake.module.tmpl,v $
7 # Revision 1.1 1997/05/23 22:59:52 mjrg
17 #SRCS = $(SRCS) ../src/main.C \
20 # ../src/interface_spec.C \
23 OBJS = main.obj parser.obj scanner.obj interface_spec.obj
25 LIBS = $(LIBS) ..\..\..\lib\$(PLATFORM)\libpdutil.lib
27 ### kludge -- TODO: fix flex to build libfl.lib
28 SYSLIBS = c:\gnu\flex-2.5.3\libyywrap.obj
34 $(YACC) $(YFLAGS) ../src/$*.y
37 $(CXX) $(CXXFLAGS) -I../src -c $*.C
40 $(LEX) -t $(LFLAGS) ../src/$*.l >scanner.C
41 $(CXX) $(CXXFLAGS) -I../src -c $*.C
44 templates.o: ../src/templates.C
45 $(CXX) $(TFLAGS) $(USEFULWARNINGS) -c ../src/templates.C