box-o-sand/PracticingCpp/basics/Makefile

20 lines
184 B
Makefile
Raw Normal View History

2011-05-29 12:30:03 +00:00
CPPC := g++
ALL_TARGETS = bin/hello-world
bin/%: src/%.cpp
$(CPPC) $^ -o $@
all: $(ALL_TARGETS)
clean:
rm -vf ./bin/*
2011-05-30 02:40:07 +00:00
test:
./tests/test_hello_world
2011-05-29 12:30:03 +00:00
2011-05-30 02:40:07 +00:00
.PHONY: all clean test