Merge remote-tracking (subtree) branch 'PracticingCpp/master'
This commit is contained in:
19
PracticingCpp/basics/Makefile
Normal file
19
PracticingCpp/basics/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
CPPC := g++
|
||||
|
||||
ALL_TARGETS = bin/hello-world
|
||||
|
||||
|
||||
bin/%: src/%.cpp
|
||||
$(CPPC) $^ -o $@
|
||||
|
||||
|
||||
all: $(ALL_TARGETS)
|
||||
|
||||
clean:
|
||||
rm -vf ./bin/*
|
||||
|
||||
test:
|
||||
./tests/test_hello_world
|
||||
|
||||
|
||||
.PHONY: all clean test
|
Reference in New Issue
Block a user