Update Makefile
This commit is contained in:
@@ -366,6 +366,7 @@ ifeq ($(platform), psp1)
|
|||||||
INCFLAGS += -I$(shell psp-config --pspsdk-path)/include
|
INCFLAGS += -I$(shell psp-config --pspsdk-path)/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
OBJOUT = -o
|
||||||
LINKOUT = -o
|
LINKOUT = -o
|
||||||
|
|
||||||
ifneq (,$(findstring msvc,$(platform)))
|
ifneq (,$(findstring msvc,$(platform)))
|
||||||
@@ -391,7 +392,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) -c -o $@ $< $(CFLAGS) $(INCFLAGS)
|
$(CC) -c $(OBJOUT)$@ $< $(CFLAGS) $(INCFLAGS)
|
||||||
|
|
||||||
clean-objs:
|
clean-objs:
|
||||||
rm -f $(OBJECTS)
|
rm -f $(OBJECTS)
|
||||||
|
|||||||
Reference in New Issue
Block a user