Last active
August 29, 2015 14:20
-
-
Save semperos/71649fdef5c5a2fd1305 to your computer and use it in GitHub Desktop.
Minimal, essential 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
| CXXFLAGS=-std=c++11 -g -Wall -Werror | |
| LDFLAGS=-g | |
| LDLIBS=-lcurl | |
| # LDLIBS = `pkg-config --libs libcurl` | |
| TARGET ?= mysql-manager | |
| # SOURCES=mysql-manager.cpp | |
| # OBJECTS=$(subst .cpp,.o,$(SOURCES)) | |
| RM=rm -f | |
| RMR=rm -rf | |
| all: $(TARGET) | |
| clean: | |
| $(RM) $(TARGET) | |
| $(RMR) $(TARGET).dSYM # Mac OSX debug symbols | |
| # $(RM) $(OBJECTS) | |
| .PHONY: clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment