You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
184 B
20 lines
184 B
14 years ago
|
CPPC := g++
|
||
|
|
||
|
ALL_TARGETS = bin/hello-world
|
||
|
|
||
|
|
||
|
bin/%: src/%.cpp
|
||
|
$(CPPC) $^ -o $@
|
||
|
|
||
|
|
||
|
all: $(ALL_TARGETS)
|
||
|
|
||
|
clean:
|
||
|
rm -vf ./bin/*
|
||
|
|
||
14 years ago
|
test:
|
||
|
./tests/test_hello_world
|
||
14 years ago
|
|
||
14 years ago
|
|
||
|
.PHONY: all clean test
|