summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
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