aboutsummaryrefslogtreecommitdiff
path: root/examples/makefile
blob: 00911a6426a9587a92b50e5ceba1f14ab828b9b1 (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
24
25
26
27
28
29
30
31
32
# Run using make (Linux) or gmake (BSD)
# Part of the PSn00bSDK Project
# 2019-2020 Lameguy64 / Meido-Tek Productions

TOPTARGETS	= all clean

# Beginner examples
DIRS 		= beginner/hello

# Graphics examples
DIRS	   += graphics/balls graphics/billboard graphics/fpscam graphics/gte \
			  graphics/render2tex graphics/rgb24

# System related examples
DIRS	   += system/childexec system/console system/timer

# Low-level examples
DIRS	   += lowlevel/cartrom

# CD-ROM examples
DIRS	   += cdrom/cdbrowse cdrom/cdxa

# Demos
DIRS	   += demos/n00bdemo

$(TOPTARGETS): $(DIRS)
$(DIRS):
	@$(MAKE) -C $@ $(MAKECMDGOALS)

clean: $(DIRS)

.PHONY: $(TOPTARGETS) $(DIRS)