mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-27 18:40:31 +00:00
parent
0cf6547295
commit
7b55725e74
4
Makefile
4
Makefile
@ -313,10 +313,14 @@ ifeq ($(STATIC_LINKING),1)
|
||||
$(AR) rcs $@ $(foreach OBJECTS,$(OBJECTS),&& $(AR) q $@ $(OBJECTS))
|
||||
else
|
||||
@echo Linking $@...
|
||||
ifeq ($(platform),win)
|
||||
# Use a temporary file to hold the list of objects, as it can exceed windows shell command limits
|
||||
$(file >$@.in,$(OBJECTS))
|
||||
$(CC) $(CDEFS) $(CFLAGSOSDEPEND) $(PLATCFLAGS) $(LDFLAGS) -o $@ @$@.in $(LIBS)
|
||||
@rm $@.in
|
||||
else
|
||||
$(CC) $(CDEFS) $(CFLAGSOSDEPEND) $(PLATCFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
%.o: %.c
|
||||
|
Loading…
Reference in New Issue
Block a user