src/work/marci/experiment/makefile
author deba
Thu, 02 Sep 2004 10:07:30 +0000
changeset 782 df2e45e09652
permissions -rw-r--r--
--This line, and those below, will be ignored--

A hugo/sym_map_factory.h
M hugo/list_graph.h
A hugo/array_map_factory.h
A hugo/map_registry.h
M hugo/smart_graph.h
A hugo/map_defines.h
A hugo/extended_pair.h
M hugo/full_graph.h
A hugo/vector_map_factory.h
     1 INCLUDEDIRS ?= -I. -I../../../include -I..
     2 CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic
     3 
     4 BINARIES ?= iterator_bfs_demo iterator_bfs_demo_1 edmonds_karp_demo edmonds_karp_demo_1
     5 
     6 # Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
     7 # ismert rendszeren :-)  (Misi)
     8 CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     9 CC := $(CXX)
    10 
    11 
    12 all: $(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) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    27 #	-$(CXX) $(CXXFLAGS) -M *.cc > .depend
    28 
    29 makefile: .depend
    30 sinclude .depend
    31 
    32 clean:
    33 	$(RM) *.o $(BINARIES) .depend
    34 
    35 .PHONY: all clean dep depend