Oops, little fixes
[tpg/acess2.git] / Usermode / Applications / axwin3_src / Makefile
index daf0685..1ee8c26 100644 (file)
@@ -1,13 +1,25 @@
 
+-include ../Makefile.cfg
+
 NAME = AxWin3
-DIRS = WM
+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:
+install: $(FILES)
+       @$(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), $(SUBMAKE) -C $(FILE);) true
 
 clean:
        @$(foreach DIR,$(DIRS), $(SUBMAKE) -C $(DIR) $@ &&) true
+
+$(FILES): -%:
+       $(xCP) $* $(DISTROOT)/Apps/AxWin/3.0/$*

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