Replaced Makefile by newer standard version
This commit is contained in:
parent
a86ca3fb39
commit
90d46ea7fa
6
Makefile
6
Makefile
@ -1,10 +1,6 @@
|
||||
include premake.make
|
||||
|
||||
LIBNAME := $(shell basename $$(pwd))
|
||||
MAJOR ?= 1
|
||||
MINOR ?= 0
|
||||
PATCH ?= 0
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
@ -74,7 +70,7 @@ ifeq ($(UNAME_S),Linux)
|
||||
$(CXX) -g -shared -Wl,-soname,$(SONAME) -o $(OUTDIR)$(REALNAME) $(LDFLAGS) $(LDLIBS) $(addprefix $(BUILDDIR),$(OBJS))
|
||||
endif
|
||||
|
||||
%.o: %.cpp %.d Makefile
|
||||
%.o: %.cpp %.d
|
||||
$(CXX) $(CXXFLAGS) -MMD -MP -MT $@ -MF $*.d -c $<
|
||||
@mv $@ $*.d $(BUILDDIR)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user