X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FMakefile;h=33fa974130077c248cb007efd649a12de2ce86cf;hb=7c00f2f9205aeb803f0499c9e88c98048830bea6;hp=59ab3cdf9cc2b97f83ebe52b08ba2bb5ff76c0ce;hpb=184cdb36faa9cdf7e71af47a49c140b6fc4cebef;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/Makefile b/Usermode/Applications/axwin3_src/Makefile index 59ab3cdf..33fa9741 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/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/$*