dummy for MSVC
[prop.git] / lib-src / graph / Makefile
blobd50ef11f33e96d19d545f93ce5c2b0489a03fe84
1 #############################################################################
2 # The following parameters must be altered for each platform and compiler.
3 # The default is for g++ on Unix.
4 #############################################################################
5 ADLIB_PATH = ../../include
6 CC = gcc
7 COPTS = -O6
8 CINCLUDE = -I$(ADLIB_PATH)
10 ad = $(ADLIB_PATH)/AD
11 D = $(ADLIB_PATH)/AD/graph
13 OBJS = graph.$(OBJ) node.$(OBJ) edge.$(OBJ) \
14 graphaux.$(OBJ)
16 all: $(OBJS)
18 graph.$(OBJ): $(D)/graph_base.h $(D)/graph.h $(ad)/pretty/postream.h \
19 graphinline.h
20 edge.$(OBJ): $(D)/graph_base.h $(D)/graph.h $(ad)/pretty/postream.h
21 node.$(OBJ): $(D)/graph_base.h $(D)/graph.h $(ad)/pretty/postream.h
22 graphaux.$(OBJ): $(D)/graph_base.h $(D)/graph.h $(D)/node.h $(D)/edge.h
24 qa: qa.cc $(OBJS)
25 $(CC) $(COPTS) $(CINCLUDE) -o qa qa.cc *.$(OBJ) -liostream
27 %.$(OBJ): %.cc
28 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.$(OBJ)=.cc)
30 %.$(OBJ): %.cpp
31 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.$(OBJ)=.cpp)
33 %.$(OBJ): %.cxx
34 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.$(OBJ)=.cxx)
36 %.$(OBJ): %.C
37 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.$(OBJ)=.C)
39 %.$(OBJ): %.s
40 $(AS) $(@:.$(OBJ)=.s) -o $@