aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/makefile
blob: c2cf62f67016470d79449eb60e7d37421cf73215 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Run using make (Linux) or gmake (BSD)
# Part of the PSn00bSDK Project
# 2019 - 2020 Lameguy64 / Meido-Tek Productions

TOPTARGETS	= all clean

LIBS 		= libc psxgpu psxapi psxgte psxcd psxetc psxsio psxspu lzp   

$(TOPTARGETS): $(LIBS)

install: $(LIBS)
ifdef PSN00BSDK_LIBS
ifneq ($(CURDIR),$(PSN00BSDK_LIBS))				# needs a better method
	cp -R include $(PSN00BSDK_LIBS)/include
endif
endif

clean: $(LIBS)

$(LIBS):
	@$(MAKE) -C $@ $(MAKECMDGOALS)
	
.PHONY: $(TOPTARGETS) $(LIBS)