summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2013-08-10 13:02:52 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2013-08-10 13:02:52 -0400
commitc5bf41e4c8ba513602e835c50ea815d6cc9de335 (patch)
tree54a15c4d4202b246a86fa240c7f39546d9b996e5 /Makefile
parent17dec0f70d683ffe217173f9de4ad2a92128487c (diff)
downloadkankri-c5bf41e4c8ba513602e835c50ea815d6cc9de335.tar.gz
kankri-c5bf41e4c8ba513602e835c50ea815d6cc9de335.tar.bz2
kankri-c5bf41e4c8ba513602e835c50ea815d6cc9de335.zip
Added Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d9a33df --- /dev/null +++ b/Makefile
@@ -0,0 +1,13 @@
1CC = g++
2LD = g++
3TARGET = kankri
4SOURCE = IRC.cpp main.cpp
5MODULES = $(addsuffix .o,$(patsubst %.cpp,%,$(SOURCE)))
6CCFLAGS = -I/usr/local/Cellar/yaml-cpp/0.5.0/include
7LDFLAGS = -lyaml-cpp
8
9$(TARGET): $(MODULES)
10 $(LD) $(MODULES) $(LDFLAGS) -o $(TARGET)
11
12$(MODULES): %.o: %.cpp
13 $(CC) -c $? -o $@ $(CCFLAGS) \ No newline at end of file