diff options
author | zedarider <ymherklotz@gmail.com> | 2016-07-17 00:50:50 +0100 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-07-17 00:50:50 +0100 |
commit | 779e60e7cadf4cb54efd1135045cbf34396e0896 (patch) | |
tree | ac263ad1b40c827e2cd2008c639c55941224ff2f /Makefile | |
parent | 2c033bbf92832cf4c27e914ce06f4bb696f6b365 (diff) | |
download | Cardeval-779e60e7cadf4cb54efd1135045cbf34396e0896.tar.gz Cardeval-779e60e7cadf4cb54efd1135045cbf34396e0896.zip |
fixed .gitignore
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,7 @@ CC := g++ # this is the main compiler # CC := clange --analyze # and comment out the linker last line SRCDIR := src BUILDDIR := build +TARGETDIR := bin TARGET := bin/CardEval SRCEXT := cpp @@ -13,9 +14,11 @@ INC := -I include $(TARGET): $(OBJECTS) @echo " Linking..." + @mkdir -p $(TARGETDIR) @echo " $(CC) $^ -o $(TARGET) $(LIB)"; $(CC) $^ -o $(TARGET) $(LIB) $(BUILDDIR)/%.o: $(SRCDIR)/%.$(SRCEXT) + @echo " Building..." @mkdir -p $(BUILDDIR) @echo " $(CC) $(CFLAGS) $(INC) -c -o $@ $<"; $(CC) $(CFLAGS) $(INC) -c -o $@ $< |