Skip to content

Instantly share code, notes, and snippets.

@semperos
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save semperos/71649fdef5c5a2fd1305 to your computer and use it in GitHub Desktop.

Select an option

Save semperos/71649fdef5c5a2fd1305 to your computer and use it in GitHub Desktop.
Minimal, essential Makefile
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