Subversion Repositories pspware

Rev

Rev 345 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
345 Oobles 1
# LuaPlayer Modules
2
 
350 Oobles 3
SUBDIRS = loadlib simple sound
345 Oobles 4
 
5
.PHONY: dummy
6
 
7
# Use SUBDIRS to descend into subdirectories.
8
subdir_list = $(patsubst %,all-%,$(SUBDIRS))
9
subdir_clean = $(patsubst %,clean-%,$(SUBDIRS))
10
subdir_release = $(patsubst %,release-%,$(SUBDIRS))
11
subdirs: dummy $(subdir_list)
12
 
13
ifdef SUBDIRS
14
$(subdir_list): dummy
15
	$(MAKE) -C $(patsubst all-%,%,$@)
16
$(subdir_clean): dummy
17
	$(MAKE) -C $(patsubst clean-%,%,$@) clean
18
$(subdir_release): dummy
19
	$(MAKE) -C $(patsubst release-%,%,$@) release
20
 
21
endif
22
 
23
all: $(subdir_list)
24
 
25
clean: $(subdir_clean)
26
	rm -f *.lrx
27
 
28
release: $(subdir_release)
29
 
30
dummy:
31