forked from ps2dev/ps2sdk-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (45 loc) · 1.45 KB
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.
#
SUBDIRS =
SUBDIRS += zlib
SUBDIRS += libpng
SUBDIRS += freetype2
SUBDIRS += libjpeg
SUBDIRS += libtiff
SUBDIRS += libmad
SUBDIRS += libid3tag
SUBDIRS += expat
SUBDIRS += libconfig-1.4.5
SUBDIRS += libmikmod
SUBDIRS += madplay
SUBDIRS += sdl
SUBDIRS += sdlgfx
SUBDIRS += sdlimage
SUBDIRS += sdlmixer
SUBDIRS += sdlttf
SUBDIRS += aalib
SUBDIRS += ode
SUBDIRS += lua
# SUBDIRS += romfs #tools only works under linux
# SUBDIRS += ode #doesnt work
# SUBDIRS += stlport #doesnt work on 5.3.0
# SUBDIRS += ucl #doesnt work
# SUBDIRS += stlport #doesnt work
all: $(patsubst %, _dir_%, $(SUBDIRS))
$(patsubst %, _dir_%, $(SUBDIRS)):
@$(MAKE) -r -C $(patsubst _dir_%, %, $@)
clean: $(patsubst %, _cleandir_%, $(SUBDIRS))
$(patsubst %, _cleandir_%, $(SUBDIRS)):
$(MAKE) -C $(patsubst _cleandir_%, %, $@) clean
install: $(patsubst %, _installdir_%, $(SUBDIRS))
$(patsubst %, _installdir_%, $(SUBDIRS)):
$(MAKE) -C $(patsubst _installdir_%, %, $@) install
sample: $(patsubst %, _sampledir_%, $(SUBDIRS))
$(patsubst %, _sampledir_%, $(SUBDIRS)):
$(MAKE) -C $(patsubst _sampledir_%, %, $@) sample