COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/makefile @ 389:770cc1f4861f

Last change on this file since 389:770cc1f4861f was 389:770cc1f4861f, checked in by marci, 21 years ago

modifications for better compatibility with gcc 3.4.0

File size: 906 bytes
Line 
1INCLUDEDIRS ?= -I../include -I. -I./{marci,jacint,alpar,klao,akos}
2CXXFLAGS = -g -O2 -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)
8#CXX := $(shell type -p g++-3.4 || type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
9CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
10CC := $(CXX)
11
12
13all: $(BINARIES)
14
15################
16# Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol
17# all elo.
18# Kiveve ha siman file.cc -> file  esetrol van szo, amikor is nem kell
19# irni semmit.
20
21#proba: proba.o seged.o
22
23################
24
25
26.depend dep depend:
27        -$(CXX) $(CXXFLAGS) -M $(BINARIES:=.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.