Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 315 Bytes
CXX=clang++
CXXFLAGS=-g -std=c++0x
LDFLAGS=-lboost_system -pthread
all: main
main.o: main.cpp irc.h parser.h linewise_socket.h stream_slurper.h
parser.o: parser.cpp parser.h
main: main.o parser.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
parsertest: parsertest.o parser.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^