Created
March 22, 2020 11:20
-
-
Save tinwritescode/d47c2f8a121b32ccc0317a8b54f0eb4c to your computer and use it in GitHub Desktop.
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
| CXX := g++ | |
| CXX_FLAGS := -std=c++17 -ggdb -Wall | |
| BIN := bin | |
| INCLUDE := include | |
| LIBRARIES := | |
| EXECUTABLE := main | |
| all: $(BIN)/$(EXECUTABLE) | |
| run: clean all | |
| clear | |
| ./$(BIN)/$(EXECUTABLE) | |
| $(BIN)/$(EXECUTABLE): *.cpp | |
| $(CXX) $(CXX_FLAGS) $^ -o $@ $(LIBRARIES) | |
| clean: | |
| -rm $(BIN)/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment