initial
[prop.git] / lib-src / graphtype / Makefile
blob3edc56f750ffa85992c40df98322b379a23c3af8
1 #############################################################################
2 # The following parameters must be altered for each platform and compiler.
3 # The default is for g++ on Unix and MSDOG.
4 #############################################################################
5 ADLIB_PATH = ../../include
6 CC = g++
7 COPTS = -O6
8 CINCLUDE = -I$(ADLIB_PATH)
10 ad = $(ADLIB_PATH)/AD
11 D = $(ADLIB_PATH)/AD/graphtype
13 OBJS = graphtype.o
15 all: $(OBJS)
17 graphtype.o: graphtype.cc $(D)/graphtype.h $(ad)/generic/generic.h
19 %.o: %.cc
20 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.o=.cc)
22 %.o: %.C
23 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.o=.C)
25 %.o: %.cpp
26 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.o=.cpp)
28 %.o: %.cxx
29 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.o=.cxx)