COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/makefile @ 326:e2f00e438c31

Last change on this file since 326:e2f00e438c31 was 301:7eb324ed5da3, checked in by marci, 20 years ago

kicsi moveolgatas

File size: 801 bytes
Line 
1INCLUDEDIRS ?= -I../include -I. -I./{marci,jacint,alpar,klao,akos}
2CXXFLAGS = -g -O -Wall $(INCLUDEDIRS) -ansi -pedantic
3
4BINARIES ?= bin_heap_demo iterator_bfs_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
24
25.depend dep depend:
26        -$(CXX) $(CXXFLAGS) -M $(BINARIES:=.cc) > .depend
27
28makefile: .depend
29sinclude .depend
30
31clean:
32        $(RM) *.o $(BINARIES) .depend
33
34.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.