src/work/marci/experiment/makefile
changeset 1365 c280de819a73
parent 1364 ee5959aa4410
child 1366 d00b85f8be45
     1.1 --- a/src/work/marci/experiment/makefile	Sun Apr 17 18:57:22 2005 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,35 +0,0 @@
     1.4 -INCLUDEDIRS ?= -I. -I../../../include -I..
     1.5 -CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic
     1.6 -
     1.7 -BINARIES ?= iterator_bfs_demo iterator_bfs_demo_1 edmonds_karp_demo edmonds_karp_demo_1
     1.8 -
     1.9 -# Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
    1.10 -# ismert rendszeren :-)  (Misi)
    1.11 -CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
    1.12 -CC := $(CXX)
    1.13 -
    1.14 -
    1.15 -all: $(BINARIES)
    1.16 -
    1.17 -################
    1.18 -# Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol
    1.19 -# all elo.
    1.20 -# Kiveve ha siman file.cc -> file  esetrol van szo, amikor is nem kell
    1.21 -# irni semmit.
    1.22 -
    1.23 -#proba: proba.o seged.o
    1.24 -
    1.25 -################
    1.26 -
    1.27 -
    1.28 -.depend dep depend:
    1.29 -	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    1.30 -#	-$(CXX) $(CXXFLAGS) -M *.cc > .depend
    1.31 -
    1.32 -makefile: .depend
    1.33 -sinclude .depend
    1.34 -
    1.35 -clean:
    1.36 -	$(RM) *.o $(BINARIES) .depend
    1.37 -
    1.38 -.PHONY: all clean dep depend