a grand renaming so that the most significant portion of the name comes first
This commit is contained in:
19
cpp-practice/basics/Makefile
Normal file
19
cpp-practice/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