Changeset 148 for trunk/classes/res/nl


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

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

Location:
trunk/classes/res/nl
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/res/nl/makefile

    r133 r148  
    1010INC     =       ../../inc
    1111DEFS         =
    12 PROGS        =
    13 
     12#TOOLDIR =      $(BUILD_ROOT)\classes\mm-progs
    1413OBJDIR  =       ../dll
    1514
    16 OBJECTS =       $(INC)\mmres.h mmres$(LANGUAGE).rc\
     15OBJECTS =       $(INC)\mmres.h mmres$(LANGUAGE).rc \
    1716                        audioplayer$(LANGUAGE).dlg audioplayer$(LANGUAGE).rc \
    1817                        audioconv$(LANGUAGE).dlg audioconv$(LANGUAGE).rc \
    1918                        volume$(LANGUAGE).rc volume$(LANGUAGE).dlg \
    2019                        imageconv$(LANGUAGE).dlg imageconv$(LANGUAGE).rc \
    21                         cwaudio_nl.rc cwaudio_nl.dlg cwimage_nl.rc cwvideo_nl.rc \
    22                         mmfind_nl.dlg mmfind_nl.rc
     20                        cwaudio$(LANGUAGE).rc cwaudio$(LANGUAGE).dlg \
     21                        cwimage$(LANGUAGE).rc cwvideo$(LANGUAGE).rc \
     22                        mmfind$(LANGUAGE).dlg mmfind$(LANGUAGE).rc
     23
    2324
    2425all:    $(OBJDIR)/mmres$(LANGUAGE).dll
    2526
    26 $(OBJDIR)/mmres$(LANGUAGE).dll: mmres$(LANGUAGE).c $(OBJECTS) mmres$(LANGUAGE).def
     27$(OBJDIR)/mmres$(LANGUAGE).dll: mmres$(LANGUAGE).c $(OBJECTS)
     28                cmd /C $(TOOLDIR)/create_def.cmd mmres$(LANGUAGE).def
    2729                icc $(CPPFLAGS) -I$(INC) /Fe$(OBJDIR)\$@ $< mmres$(LANGUAGE).def
    2830                rc -D $(ECS) -i $(INC) mmres$(LANGUAGE).rc $(OBJDIR)/mmres$(LANGUAGE).dll
     31                rc -r -D $(ECS) -i $(INC) mmres$(LANGUAGE).rc $(OBJDIR)/mmres$(LANGUAGE).res
     32#               rc  mmres$(LANGUAGE).res $(OBJDIR)/mmres$(LANGUAGE).dll
     33
     34#(OBJDIR)/mmres$(LANGUAGE).res: mmres$(LANGUAGE).rc $(OBJECTS)
     35#               rc -D $(ECS) -i $(INC) -r mmres$(LANGUAGE).rc
     36
     37
     38restest:       
     39        echo  $(deftext)> test.def
    2940
    3041                               
     
    3243        -rm $(OBJDIR)/*.obj
    3344        -rm $(OBJDIR)/*.dll
     45        -rm $(OBJDIR)/*.res
    3446        -rm *.*~
    3547        -rm *.flc
    3648        -rm *.RES
    3749        -rm *.obj
     50        -rm *.def
    3851
    3952
Note: See TracChangeset for help on using the changeset viewer.