Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (17 sloc) 453 Bytes
CXXFLAGS = -O2 -Wall -fmessage-length=0
OBJS = twitterChat.o TwitterChatBot.o
# hoard is not needed
LIBS = -lhoard -lpthread -lcurl -lsqlite3
# download libs from:
# hoard.org # not needed but helps
# boost.org
# sqlite.org
# http://blog.beef.de/projects/tinyjson/
# installed curl & libcurl
TARGET = twitterChat
$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(OBJS) $(LIBS)
all: $(TARGET)
LDFLAGS='curl-config --libs'
clean:
rm -f $(OBJS) $(TARGET)