Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / libraries / makefile
blob0f1a46ea3ff318b2181b9bd9e23038c68324faa3
1 # makefile für Scalos IconObject library (C-Version)
2 # $Date$
3 # $Revision$
4 # $Id$
6 #############################################################
8 SUBDIRS = preferences \
9 sqlite \
10 scalosgfx \
11 iconobject \
12 popupmenu \
14 #############################################################
16 .PHONY: All install clean
18 #############################################################
20 define build_subdir
21 $(MAKE) -s --directory=$(1);
22 endef
24 define install_subdir
25 $(MAKE) -s install --directory=$(1);
26 endef
28 define clean_subdir
29 $(MAKE) -s clean --directory=$(1);
30 endef
32 #############################################################
34 all:
35 @$(foreach subdir,$(SUBDIRS),$(call build_subdir,$(subdir)))
37 #############################################################
39 install:
40 @$(foreach subdir,$(SUBDIRS),$(call install_subdir,$(subdir)))
42 #############################################################
44 clean:
45 @$(foreach subdir,$(SUBDIRS),$(call clean_subdir,$(subdir)))
47 #############################################################