nesting basic stuff in its own tree

This commit is contained in:
Dan Buch 2011-05-29 05:30:03 -07:00
parent 1ef082fb9f
commit 3d24f88327
5 changed files with 20 additions and 15 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
bin/* */bin/*

View File

@ -1,16 +1,5 @@
CPPC := g++ all:
cd ./basics && $(MAKE)
ALL_TARGETS = bin/hello-world
bin/%: src/%.cpp .PHONY: all
$(CPPC) $^ -o $@
all: $(ALL_TARGETS)
clean:
rm -vf ./bin/*
.PHONY: all clean

16
basics/Makefile Normal file
View 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