Last active
October 25, 2020 19:57
-
-
Save kuang-da/15e94060c8838e81d37a68225a76e966 to your computer and use it in GitHub Desktop.
[Notes about Makefile] #c #makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGETS = Test | |
all: $(TARGETS) | |
%.o: %.cpp | |
g++-7.1.0 $^ -c -o $@ | |
Test: 461.o | |
g++-7.1.0 $^ -o $@ | |
clean:: | |
rm -fv $(TARGETS) *~ *.o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment