Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Makefile example
all:hello test1 test2 test3
hello:hello.o
g++ -o hello hello.o
hello.o:hello.cc
g++ -c -o hello.o hello.cc
clean:
rm *.o hello
install:
cp hello /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.