COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/makefile @ 445:6fe0d7d70674

Last change on this file since 445:6fe0d7d70674 was 417:4ce3d5f675ea, checked in by marci, 21 years ago

Better control of gcc version

File size: 833 bytes
Line 
1INCLUDEDIRS ?= -I../include -I. -I./{marci,jacint,alpar,klao,akos}
2CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic
3
4BINARIES ?= bin_heap_demo
5
6# Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
7# ismert rendszeren :-)  (Misi)
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
14CC := $(CXX)
15
16
17all: $(BINARIES)
18
19################
20# Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol
21# all elo.
22# Kiveve ha siman file.cc -> file  esetrol van szo, amikor is nem kell
23# irni semmit.
24
25#proba: proba.o seged.o
26
27################
28
29
30.depend dep depend:
31        -$(CXX) $(CXXFLAGS) -M $(BINARIES:=.cc) > .depend
32
33makefile: .depend
34sinclude .depend
35
36clean:
37        $(RM) *.o $(BINARIES) .depend
38
39.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.