diff options
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 | ||