COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/makefile @ 1049:e27446e1deda

Last change on this file since 1049:e27446e1deda was 867:f3cc65f9fb6b, checked in by marci, 20 years ago

Demo file for SubGraphWrapper?<Graph>. Documentation will be added later.
The purpose of this graph is to have an easy and short demo for the above class.

File size: 864 bytes
RevLine 
[618]1INCLUDEDIRS ?= -I.. -I. -I./{marci,jacint,alpar,klao,akos}
[867]2CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic
[3]3
[347]4BINARIES ?= bin_heap_demo
[3]5
[34]6# Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
7# ismert rendszeren :-)  (Misi)
[417]8ifdef GCCVER
9CXX := g++-$(GCCVER)
10else
11CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
12endif
13
[493]14ifdef DEBUG
15CXXFLAGS += -DDEBUG
16endif
17
[34]18CC := $(CXX)
19
20
21all: $(BINARIES)
22
23################
24# Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol
25# all elo.
26# Kiveve ha siman file.cc -> file  esetrol van szo, amikor is nem kell
27# irni semmit.
28
29#proba: proba.o seged.o
30
31################
32
[132]33
34.depend dep depend:
[301]35        -$(CXX) $(CXXFLAGS) -M $(BINARIES:=.cc) > .depend
[34]36
37makefile: .depend
38sinclude .depend
[3]39
40clean:
[34]41        $(RM) *.o $(BINARIES) .depend
[7]42
[34]43.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.