Ignore:
Timestamp:
Jan 28, 2024, 11:17:52 PM (19 months ago)
Author:
gyoung
Message:

Automate building of all def files. Some minor code and makefile cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/res/makefile

    r53 r148  
    33include ../../make.inc
    44
    5 CURDIR          = .
    6 
    75.PHONY:         clean cleaner clean_nlv
    86
    97all:    nlv
    10 #common_res
    11         cd ./common_res && make
     8        cd common_res && make
    129
    1310nlv:
    14         @echo "[35;1;mCreating laguage resources.[0;m"
    15         @for i in $(LANGUAGES); \
    16         do \
    17                 echo "[33;1;m Creating "$$i"[0;m";  \
    18                 cd $(CURDIR)/$$i && make LANGUAGE=_$$i && cd .. ; \
    19         done
    20 
    21 #common_res:
    22 #       cd ./common_res && make
     11        @echo Creating laguage resources
     12        @for %i in ( $(LANGUAGES) ) do ( @echo Creating %i language resources && cd %i && make && cd .. )
    2313
    2414clean_nlv:
    25         @for i in $(LANGUAGES); \
    26         do \
    27                 cd $(CURDIR)/$$i && make LANGUAGE=_$$i clean && cd .. ; \
    28         done
    29 
     15        @for %i in ($(LANGUAGES)) do (cd %i && make clean && cd ..)
     16               
    3017clean:  clean_nlv
    31         -cd ./common_res && make clean
    32 
    33 cleaner:
    34 
    35        
    36 
     18        -cd common_res && make clean
Note: See TracChangeset for help on using the changeset viewer.