diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2013-08-10 13:02:52 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2013-08-10 13:02:52 -0400 |
commit | c5bf41e4c8ba513602e835c50ea815d6cc9de335 (patch) | |
tree | 54a15c4d4202b246a86fa240c7f39546d9b996e5 /Makefile | |
parent | 17dec0f70d683ffe217173f9de4ad2a92128487c (diff) | |
download | kankri-c5bf41e4c8ba513602e835c50ea815d6cc9de335.tar.gz kankri-c5bf41e4c8ba513602e835c50ea815d6cc9de335.tar.bz2 kankri-c5bf41e4c8ba513602e835c50ea815d6cc9de335.zip |
Added Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
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 @@ | |||
1 | CC = g++ | ||
2 | LD = g++ | ||
3 | TARGET = kankri | ||
4 | SOURCE = IRC.cpp main.cpp | ||
5 | MODULES = $(addsuffix .o,$(patsubst %.cpp,%,$(SOURCE))) | ||
6 | CCFLAGS = -I/usr/local/Cellar/yaml-cpp/0.5.0/include | ||
7 | LDFLAGS = -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 | ||