nesting basic stuff in its own tree
This commit is contained in:
parent
1ef082fb9f
commit
3d24f88327
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
bin/*
|
||||
*/bin/*
|
||||
|
17
Makefile
17
Makefile
@ -1,16 +1,5 @@
|
||||
CPPC := g++
|
||||
|
||||
ALL_TARGETS = bin/hello-world
|
||||
all:
|
||||
cd ./basics && $(MAKE)
|
||||
|
||||
|
||||
bin/%: src/%.cpp
|
||||
$(CPPC) $^ -o $@
|
||||
|
||||
|
||||
all: $(ALL_TARGETS)
|
||||
|
||||
clean:
|
||||
rm -vf ./bin/*
|
||||
|
||||
|
||||
.PHONY: all clean
|
||||
.PHONY: all
|
||||
|
16
basics/Makefile
Normal file
16
basics/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
CPPC := g++
|
||||
|
||||
ALL_TARGETS = bin/hello-world
|
||||
|
||||
|
||||
bin/%: src/%.cpp
|
||||
$(CPPC) $^ -o $@
|
||||
|
||||
|
||||
all: $(ALL_TARGETS)
|
||||
|
||||
clean:
|
||||
rm -vf ./bin/*
|
||||
|
||||
|
||||
.PHONY: all clean
|
Loading…
Reference in New Issue
Block a user