add global Makefile

src/Makefile uses now 'find' for looking for *.cpp files
and we don't need Makefile.o.dep anymore
This commit is contained in:
2022-06-26 06:15:19 +02:00
parent fc50c8ca5e
commit c89d4f76bc
7 changed files with 426 additions and 141 deletions

33
Makefile Normal file
View File

@@ -0,0 +1,33 @@
export CXX
export CXXFLAGS
export AR
all: src
src: FORCE
$(MAKE) -C src
samples: FORCE
$(MAKE) -C src
$(MAKE) -C samples
clean: FORCE
$(MAKE) -C src clean
$(MAKE) -C samples clean
depend: FORCE
$(MAKE) -C src depend
$(MAKE) -C samples depend
FORCE: