Externals/cross-compiler - Patching to get things compiling
[tpg/acess2.git] / Usermode / Applications / axwin3_src / Makefile
1
2 -include ../Makefile.cfg
3
4 NAME = AxWin3
5 DIRS = WM libaxwin3.so_src Interface
6 FILES = $(addprefix -,AcessLogoSmall.sif)
7
8 SUBMAKE = $(MAKE) --no-print-directory
9
10 .PNONY: all install clean $(FILES)
11
12 all:
13         @$(foreach DIR,$(DIRS), echo --- $(NAME)/$(DIR) && $(SUBMAKE) -C $(DIR) $@ &&) true
14 install:
15         @$(xMKDIR) $(DISTROOT)/Apps ; true
16         @$(xMKDIR) $(DISTROOT)/Apps/AxWin ; true
17         @$(xMKDIR) $(DISTROOT)/Apps/AxWin/3.0 ; true
18         @$(foreach DIR,$(DIRS), echo --- $(NAME)/$(DIR) && $(SUBMAKE) -C $(DIR) $@ &&) true
19         @$(foreach FILE,$(FILES), $(xCP) $(FILE:-%=%) $(DISTROOT)/Apps/AxWin/3.0/$(FILE:-%=%) &&) true
20
21 clean:
22         @$(foreach DIR,$(DIRS), $(SUBMAKE) -C $(DIR) $@ &&) true
23
24 $(FILES): -%:
25         $(xCP) $* $(DISTROOT)/Apps/AxWin/3.0/$*

UCC git Repository :: git.ucc.asn.au