COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/makefile @ 42:3ee2187d6342

Last change on this file since 42:3ee2187d6342 was 38:edea2e1dc6ef, checked in by Mihaly Barasz, 21 years ago

-MM sajnos mashogy mukodik meg a 3.0 alatt
-ansi -pedantic
bin_heap_demo hozzaadva a binarisokhoz

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