|
Last change
on this file since 138:c6297c121409 was
132:1ac27e476e25,
checked in by Mihaly Barasz, 22 years ago
|
|
makefile: tobb include konyvtar, jobb depend keszites
flow_test.cc: torolve, mert a depend-et megakasztja, igy gondolom nem is fordul
|
|
File size:
831 bytes
|
| Rev | Line | |
|---|
| [132] | 1 | INCLUDEDIRS=-I../include -I. -I./{marci,jacint,alpar,klao,akos} |
|---|
| [38] | 2 | CXXFLAGS=-g -O -Wall $(INCLUDEDIRS) -ansi -pedantic |
|---|
| [3] | 3 | |
|---|
| [99] | 4 | BINARIES = bin_heap_demo marci_graph_demo iterator_bfs_dfs_demo graphdemo bfsdemo bfsdemo2 |
|---|
| [3] | 5 | |
|---|
| [34] | 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 | |
|---|
| [132] | 24 | |
|---|
| 25 | .depend dep depend: |
|---|
| 26 | -$(CXX) $(CXXFLAGS) -M *.cc > .depend |
|---|
| [34] | 27 | |
|---|
| 28 | makefile: .depend |
|---|
| 29 | sinclude .depend |
|---|
| [3] | 30 | |
|---|
| 31 | clean: |
|---|
| [34] | 32 | $(RM) *.o $(BINARIES) .depend |
|---|
| [7] | 33 | |
|---|
| [34] | 34 | .PHONY: all clean dep depend |
|---|
Note: See
TracBrowser
for help on using the repository browser.