1 #######################################################################
6 #######################################################################
8 # These are the files that make up the WAD core
11 INCLUDE = -I../Include -I. $(SINCLUDE)
14 # Location of your Tcl installation
15 TCLINCLUDE = @TCLINCLUDE@
16 TCLSRCS = wadtclinit.cxx
17 TCLOBJS = wadtclinit.o
25 CXXFLAGS = #@CXXSHARED@
31 # Rules for creation of a .o file from .cxx
34 $(CXX) $(CXXFLAGS) $(WADOPT) $(INCLUDE) -c -o $*.o $<
37 $(CC) $(CFLAGS) $(TCLINCLUDE) $(WADOPT) $(INCLUDE) -c -o $*.o $<
39 tcl: $(OBJS) $(TCLOBJS)
40 $(CXXLINK) $(OBJS) $(TCLOBJS) -o libwadtcl.so -L.. -lwadcore
47 @egrep ";" $(SRCS) $(TCLSRCS) | wc