equal
deleted
inserted
replaced
1 CXXFLAGS=-g -O -Wall -I../include -I. |
1 INCLUDEDIRS=-I../include -I. |
|
2 CXXFLAGS=-g -O -Wall $(INCLUDEDIRS) -ansi -pedantic |
2 |
3 |
3 BINARIES = graphdemo bfsdemo bfsdemo2 proba |
4 BINARIES = graphdemo bfsdemo bfsdemo2 proba bin_heap_demo |
4 |
5 |
5 # Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam |
6 # Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam |
6 # ismert rendszeren :-) (Misi) |
7 # ismert rendszeren :-) (Misi) |
7 CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
8 CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
8 CC := $(CXX) |
9 CC := $(CXX) |
19 #proba: proba.o seged.o |
20 #proba: proba.o seged.o |
20 |
21 |
21 ################ |
22 ################ |
22 |
23 |
23 dep depend: |
24 dep depend: |
24 $(CXX) $(CXXFLAGS) -MM *.cc > .depend |
25 $(CXX) $(CXXFLAGS) -M *.cc > .depend |
25 .depend: |
26 .depend: |
26 $(CXX) $(CXXFLAGS) -MM *.cc > .depend |
27 $(CXX) $(CXXFLAGS) -M *.cc > .depend |
27 |
28 |
28 makefile: .depend |
29 makefile: .depend |
29 sinclude .depend |
30 sinclude .depend |
30 |
31 |
31 clean: |
32 clean: |