box-o-sand/PracticingCpp/basics/Makefile

20 lines
184 B
Makefile

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