Skip to content

Instantly share code, notes, and snippets.

@vyorkin
Created October 19, 2014 21:54
Show Gist options
  • Save vyorkin/e2b9b1205634b9656ee0 to your computer and use it in GitHub Desktop.
Save vyorkin/e2b9b1205634b9656ee0 to your computer and use it in GitHub Desktop.
basic makefile skeleton
CXX=clang++
FLAGS=-std=c++11 -stdlib=libc++
all:
clean:
rm -fr build/*
test:
$(CXX) $(FLAGS) src/test.cpp -o build/test.bin -Isrc/
.PHONY: all clean test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment