From c5bf41e4c8ba513602e835c50ea815d6cc9de335 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 10 Aug 2013 13:02:52 -0400 Subject: Added Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d9a33df --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CC = g++ +LD = g++ +TARGET = kankri +SOURCE = IRC.cpp main.cpp +MODULES = $(addsuffix .o,$(patsubst %.cpp,%,$(SOURCE))) +CCFLAGS = -I/usr/local/Cellar/yaml-cpp/0.5.0/include +LDFLAGS = -lyaml-cpp + +$(TARGET): $(MODULES) + $(LD) $(MODULES) $(LDFLAGS) -o $(TARGET) + +$(MODULES): %.o: %.cpp + $(CC) -c $? -o $@ $(CCFLAGS) \ No newline at end of file -- cgit 1.4.1