| Last change
                  on this file since 506:fde7814bfd2d was
                  493:bbd1db03f0fe,
                  checked in by Mihaly Barasz, 22 years ago | 
        
          | 
DirPath? fejlodes.Kiserleti struktura a forditasi idoben kapcsolhato konzisztencia es range
 ellenorzesekre.
 
 | 
        | File size:
            872 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | INCLUDEDIRS ?= -I../include -I. -I./{marci,jacint,alpar,klao,akos} | 
|---|
| 2 | CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic | 
|---|
| 3 |  | 
|---|
| 4 | BINARIES ?= bin_heap_demo | 
|---|
| 5 |  | 
|---|
| 6 | # Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam | 
|---|
| 7 | # ismert rendszeren :-)  (Misi) | 
|---|
| 8 | ifdef GCCVER | 
|---|
| 9 | CXX := g++-$(GCCVER) | 
|---|
| 10 | else | 
|---|
| 11 | CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) | 
|---|
| 12 | endif | 
|---|
| 13 |  | 
|---|
| 14 | ifdef DEBUG | 
|---|
| 15 | CXXFLAGS += -DDEBUG | 
|---|
| 16 | endif | 
|---|
| 17 |  | 
|---|
| 18 | CC := $(CXX) | 
|---|
| 19 |  | 
|---|
| 20 |  | 
|---|
| 21 | all: $(BINARIES) | 
|---|
| 22 |  | 
|---|
| 23 | ################ | 
|---|
| 24 | # Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol | 
|---|
| 25 | # all elo. | 
|---|
| 26 | # Kiveve ha siman file.cc -> file  esetrol van szo, amikor is nem kell | 
|---|
| 27 | # irni semmit. | 
|---|
| 28 |  | 
|---|
| 29 | #proba: proba.o seged.o | 
|---|
| 30 |  | 
|---|
| 31 | ################ | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 | .depend dep depend: | 
|---|
| 35 | -$(CXX) $(CXXFLAGS) -M $(BINARIES:=.cc) > .depend | 
|---|
| 36 |  | 
|---|
| 37 | makefile: .depend | 
|---|
| 38 | sinclude .depend | 
|---|
| 39 |  | 
|---|
| 40 | clean: | 
|---|
| 41 | $(RM) *.o $(BINARIES) .depend | 
|---|
| 42 |  | 
|---|
| 43 | .PHONY: all clean dep depend | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.