Created
November 5, 2015 02:00
-
-
Save pgeorgan/7001d89e45600ffbfaef to your computer and use it in GitHub Desktop.
This file contains 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
all:hf_compiler | |
CPPFLAGS+=-std=c++11 -Wall -pedantic | |
CPPFLAGS+=-g -O2 | |
CPPFLAGS+=-pthread | |
%.o:%.cpp | |
$(CXX) $(CPPFLAGS) $< -c -o $@ | |
hf_compiler: $(patsubst %.cpp,%.o,$(wildcard *.cpp)) | |
$(CXX) $(CPPFLAGS) $^ -o $@ $(LDFLAGS) | |
-include .depends | |
.depends: $(wildcard *.cpp) | |
$(CXX) $(CPPFLAGS) -M $^ > $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment