fixed Makefile to work with cpp files
This commit is contained in:
parent
7ddacbfe1e
commit
7867d7c592
|
@ -23,7 +23,7 @@ LIBDIR = -L.
|
||||||
|
|
||||||
SOURCES := $(wildcard $(SRCDIR)/*.cpp)
|
SOURCES := $(wildcard $(SRCDIR)/*.cpp)
|
||||||
INCLUDES := $(wildcard $(INCDIR)/*.h)
|
INCLUDES := $(wildcard $(INCDIR)/*.h)
|
||||||
OBJECTS := $(SOURCES:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
|
OBJECTS := $(SOURCES:$(SRCDIR)/%.cpp=$(OBJDIR)/%.o)
|
||||||
|
|
||||||
rm = rm -f
|
rm = rm -f
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue