home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
rxawar.zip
/
rxawar
/
lower
/
makefile.wat
< prev
next >
Wrap
Makefile
|
1994-07-16
|
1KB
|
46 lines
exename = lower
objs = main.obj lower.obj runmacro.obj
!include ..\makewatc.inc
exports =
libs = rexx.lib os2386.lib
$(obj_dir)\$(exename).exe : $(objs) $(obj_dir)\$(exename).lnk
@cd $(obj_dir)
$(std_link) @$(exename)
copy $(exename).exe ..
!ifdef DEBUG
@copy /b $(exename).exe + $(exename).sym $(exename).exe 2>&1 >nul
!endif
@cd $(main_dir)
#$(obj_dir)\$(exename).res : $(rc_dir)\$(exename).rc
# @cd $(rc_dir)
# rc -r $[*.rc $(obj_dir)\$[&.res
# @cd $(main_dir)
$(obj_dir)\$(exename).lnk : makefile.wat $(locallibs)
%create $@
@%append $@ option osname='OS/2 32-bit'
# @%append $@ libpath %WATCOM%\lib386
# @%append $@ libpath %WATCOM%\lib386\os2
# @%append $@ libpath %TOOLKIT%\os2lib
!ifdef PM
@%append $@ format os2 lx pm
!else
@%append $@ format os2 lx
!endif
@%append $@ option Quiet,Map,CaseExact,ManyAutoData
@%append $@ option symfile=$(exename).sym
@%append $@ name $(exename)
@%append $@ debug all
@for %i in ($(objs)) do @%append $^@ file %i
@for %i in ($(locallibs)) do @%append $^@ library %i
@for %i in ($(libs)) do @%append $^@ library %i
@for %i in ($(exports)) do @%append $^@ export %i