MAKEFILE
上传用户:ys_happy
上传日期:2007-01-09
资源大小:20k
文件大小:1k
- # make -B Will build fd.exe
- # make -B -DDEBUG Will build the debug version of fd.exe
- NAME = fd
- DEF = $(NAME).def
- DEBUG = 1
- OBJECTS = $(NAME).OBJ
- convert.obj
- dialog.obj
- dispatch.obj
- drawwin.obj
- filedlg.obj
- profile.obj
- scroll.obj
- !if $d(DEBUG)
- TASMDEBUG=/zi
- LINKDEBUG=/v
- !else
- TASMDEBUG=
- LINKDEBUG=
- !endif
- !if $d(MAKEDIR)
- IMPORT=$(MAKEDIR)..libimport32
- !else
- IMPORT=import32
- !endif
- $(NAME).EXE: $(OBJECTS) $(DEF) $(NAME).RES
- tlink32 /Tpe/aa/c $(LINKDEBUG) @&&|
- $(OBJECTS)
- $(NAME).exe
- #
- $(IMPORT)
- $(DEF)
- |
- brc32 $(NAME).RES
- .asm.obj:
- tasm $(TASMDEBUG) /ml /m9 $&.asm
- $(NAME).RES: $(NAME).RC
- brc32 -r /ITASMINCLUDE $(NAME).RC
- clean:
- del *.res
- del *.bak
- del *.map
- del *.lst
- del *.obj
- del *.t*