X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FMakefile;h=592f46b0ee3e7ae69a34a6d829816a8e97b9acc4;hb=8c20de5e4ec260d9a7ee6d737b7601fba1c871c0;hp=59ab3cdf9cc2b97f83ebe52b08ba2bb5ff76c0ce;hpb=184cdb36faa9cdf7e71af47a49c140b6fc4cebef;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/Makefile b/Usermode/Applications/axwin3_src/Makefile index 59ab3cdf..592f46b0 100644 --- a/Usermode/Applications/axwin3_src/Makefile +++ b/Usermode/Applications/axwin3_src/Makefile @@ -1,13 +1,25 @@ +-include ../Makefile.cfg + NAME = AxWin3 DIRS = WM libaxwin3.so_src Interface +FILES = $(addprefix -,AcessLogoSmall.sif) SUBMAKE = $(MAKE) --no-print-directory +.PNONY: all install clean $(FILES) + all: @$(foreach DIR,$(DIRS), echo --- $(NAME)/$(DIR) && $(SUBMAKE) -C $(DIR) $@ &&) true install: + @$(xMKDIR) $(DISTROOT)/Apps ; true + @$(xMKDIR) $(DISTROOT)/Apps/AxWin ; true + @$(xMKDIR) $(DISTROOT)/Apps/AxWin/3.0 ; true @$(foreach DIR,$(DIRS), echo --- $(NAME)/$(DIR) && $(SUBMAKE) -C $(DIR) $@ &&) true + @$(foreach FILE,$(FILES), $(xCP) $(FILE:-%=%) $(DISTROOT)/Apps/AxWin/3.0/$(FILE:-%=%) &&) true clean: @$(foreach DIR,$(DIRS), $(SUBMAKE) -C $(DIR) $@ &&) true + +$(FILES): -%: + $(xCP) $* $(DISTROOT)/Apps/AxWin/3.0/$*