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