COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/test/makefile @ 483:ce29ae5b2e1b

Last change on this file since 483:ce29ae5b2e1b was 483:ce29ae5b2e1b, checked in by beckerjc, 21 years ago

UnionFind? moved to include. Test compiles and runs cleanly.

  • test/makefile: minor cleanups
File size: 512 bytes
RevLine 
[483]1INCLUDEDIRS ?= -I../include
2CXXFLAGS += -Wall -O3 -ansi -pedantic $(INCLUDEDIRS)
3#LEDAROOT ?= /ledasrc/LEDA-4.1
4
5BINARIES = dijkstra_heap_test unionfind_test
6
7ifdef GCCVER
8CXX := g++-$(GCCVER)
9else
10CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
11endif
12
[384]13CC=$(CXX)
14
15all: $(BINARIES)
16
17.depend dep depend:
[483]18        $(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend
[384]19
20makefile: .depend
21sinclude .depend
22
23clean:
24        $(RM) *.o $(BINARIES) .depend
25
26.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.