aboutsummaryrefslogtreecommitdiff
path: root/examples/makefile
blob: bdc62cef80664be0c3086d3d5077ff269845c1f3 (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
33
34
# 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 beginner/cppdemo

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

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

# Low-level examples
DIRS	   += 

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

# Demos
DIRS	   += demos/n00bdemo

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

clean: $(DIRS)

.PHONY: $(TOPTARGETS) $(DIRS)