mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
22 lines
506 B
Makefile
22 lines
506 B
Makefile
# This is the default target, which will be built when
|
|
# you invoke make
|
|
.PHONY: all
|
|
all: hellostar
|
|
|
|
# This rule tells make how to build hellostar from hellostar.cpp
|
|
hellostar: hellostar.cpp
|
|
g++ -g -o hellostar hellostar.cpp
|
|
|
|
# This rule tells make to copy hellostar to the binaries subdirectory,
|
|
# creating it if necessary
|
|
.PHONY: install
|
|
install:
|
|
mkdir -p binaries
|
|
cp -p hellostar binaries
|
|
|
|
# This rule tells make to delete hellostar and hellostar.o
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f hellostar hellostar.o
|
|
|