Makefile update

This commit is contained in:
/jdi/ 2015-10-15 20:42:41 +02:00
parent 2c81b49e6e
commit efa4d305b9

View file

@ -7,7 +7,11 @@ BUILDDIR = bin
SOURCES = $(wildcard $(SOURCEDIR)/*.cpp)
OBJECTS = $(patsubst $(SOURCEDIR)/%.cpp,$(BUILDDIR)/%.o,$(SOURCES))
all: $(TARGET)
all: $(BUILDDIR) $(TARGET)
$(BUILDDIR):
mkdir -p $(BUILDDIR)
$(TARGET): $(OBJECTS)