# MAKEFILE--
# Updates dialogs for a single memory model
#
# The .IDD files are binary data used with the incbin function in JWasm:
#
#   IDD_MyDialog label word
#   incbin <MyDialog.IDD>
#
# There are no name-info in the binary file, so the IDD_<name> is equal to
# the .IDD file name. The IDDC Compiler converts .IDD files to .OBJ files,
# both formats supported by RC.EXE:
#
#   RC MyDialog.OBJ
#
# ..\tools\list\list -hOBJS=& ..\mif\idd.mif *.idd " %n.obj &\n"
#
!include ..\srcpath

CC = $(bin)\iddc -F$@

.extensions: .idd

.idd.obj:
 $(CC) $<
!include $(mif)\idd.mif

$(CX).LIB: $(OBJS)
 wlib -q -c $(CX) @<<
$(OBJS)
<<
