Update Makefile
This commit is contained in:
parent
3e64044379
commit
bb10954466
|
@ -580,10 +580,10 @@ else
|
|||
endif
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) -c $(OBJOUT) $@ $< $(CXXFLAGS) $(INCFLAGS)
|
||||
$(CXX) -c $(OBJOUT)$@ $< $(CXXFLAGS) $(INCFLAGS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(OBJOUT) $@ $< $(CFLAGS) $(INCFLAGS)
|
||||
$(CC) -c $(OBJOUT)$@ $< $(CFLAGS) $(INCFLAGS)
|
||||
|
||||
ifeq ($(platform), theos_ios)
|
||||
COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error
|
||||
|
@ -598,7 +598,7 @@ $(TARGET): $(OBJS)
|
|||
ifeq ($(STATIC_LINKING), 1)
|
||||
$(AR) rcs $@ $(OBJS)
|
||||
else
|
||||
$(LD) $(LINKOUT) $@ $(SHARED) $(OBJS) $(LDFLAGS) $(LIBS)
|
||||
$(LD) $(LINKOUT)$@ $(SHARED) $(OBJS) $(LDFLAGS) $(LIBS)
|
||||
endif
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Reference in New Issue