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

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

0
basics/bin/.keep Normal file
View File

View File

@@ -0,0 +1,7 @@
#include <cstdio>
int main()
{
printf("Hello World!\n");
return 0;
}