Skip to content

Commit

Permalink
Improve multi thread compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Dec 19, 2021
1 parent 21303fe commit e9c2d5a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@ LIBS =
all: pspvalloc pspvram

pspvalloc:
rm -f *.o $(TARGET_LIB_VALLOC)
make TARGET_LIB=$(TARGET_LIB_VALLOC) OBJS=$(VALLOC_OBJS) $(TARGET_LIB_VALLOC)

pspvram:
rm -f *.o $(TARGET_LIB_VRAM)
make TARGET_LIB=$(TARGET_LIB_VRAM) OBJS=$(VRAM_OBJS) $(TARGET_LIB_VRAM)

clean-valloc:
rm -f *.o $(TARGET_LIB_VALLOC)

clean-vram:
rm -f *.o $(TARGET_LIB_VRAM)

clean: clean-valloc clean-vram


PSPSDK=$(shell psp-config --pspsdk-path)
PSPDIR=$(shell psp-config --psp-prefix)
include $(PSPSDK)/lib/build.mak
Expand Down

0 comments on commit e9c2d5a

Please sign in to comment.