COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/makefile @ 34:2b607665c9e2

Last change on this file since 34:2b607665c9e2 was 34:2b607665c9e2, checked in by Mihaly Barasz, 17 years ago

Okos makefile

depend szabalyok
egyszeru valami.cc -> valami esetek implicit szabalyokkal

File size: 745 bytes
RevLine 
[34]1CXXFLAGS=-g -O -Wall -I../include -I.
[3]2
[34]3BINARIES = graphdemo bfsdemo bfsdemo2 proba
[3]4
[34]5# Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
6# ismert rendszeren :-)  (Misi)
7CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
8CC := $(CXX)
9
10
11all: $(BINARIES)
12
13################
14# Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol
15# all elo.
16# Kiveve ha siman file.cc -> file  esetrol van szo, amikor is nem kell
17# irni semmit.
18
19#proba: proba.o seged.o
20
21################
22
23dep depend:
24        $(CXX) $(CXXFLAGS) -MM *.cc > .depend
25.depend:
26        $(CXX) $(CXXFLAGS) -MM *.cc > .depend
27
28makefile: .depend
29sinclude .depend
[3]30
31clean:
[34]32        $(RM) *.o $(BINARIES) .depend
[7]33
[34]34.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.