fixed Makefile to work with cpp files

This commit is contained in:
Màrius Montón 2020-06-11 09:29:06 +02:00
parent 7ddacbfe1e
commit 7867d7c592
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ LIBDIR = -L.
SOURCES := $(wildcard $(SRCDIR)/*.cpp)
INCLUDES := $(wildcard $(INCDIR)/*.h)
OBJECTS := $(SOURCES:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
OBJECTS := $(SOURCES:$(SRCDIR)/%.cpp=$(OBJDIR)/%.o)
rm = rm -f