Update Makefile

This commit is contained in:
Twinaphex 2019-07-16 12:20:13 +02:00 committed by hunterk
parent 28cfaefd0e
commit 9ed2d39d3b
1 changed files with 0 additions and 2 deletions

View File

@ -641,13 +641,11 @@ else
all: $(TARGET)
$(TARGET): $(OBJECTS)
@echo "** BUILDING $(TARGET) FOR PLATFORM $(platform) **"
ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $(OBJECTS)
else
+$(LD) $(fpic) $(SHARED) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS) $(LIBS)
endif
@echo "** BUILD SUCCESSFUL **"
%.o: %.cpp
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $(OBJOUT)$@ $<