home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pentlk11.zip
/
IMAGES
/
PENTLKT2.IMG
/
unc.dsk
/
MOVEKBD.MAK
< prev
next >
Wrap
Makefile
|
1994-01-13
|
3KB
|
81 lines
#===================================================================
#
# MOVEKBD Make file
#
#===================================================================
#
#===================================================================
#
.SUFFIXES:
.SUFFIXES: .rc .res .obj .lst .c .hlp .itl .ipf
#===================================================================
#
# Symbol definitions
#
#===================================================================
#===================================================================
#
# Default compilation macros for sample programs
#
#===================================================================
#
# Compile switchs
#
# /c compile don't link
# /Fa+ Write ASM file to DASD ( + = YES, - = NO
# /Fd+ Write temp file to DASD ( /Fd- = Write temp files to virtual memory )
# /Fl+ Write basic listing file ( + = YES, - = NO )
# /Gd use runtime library that: ( + = Dynamic Link, - = Static Link )
# /Ge use runtime library that: ( + = EXE Built, - = DLL Built )
# /Gm use the multi-threaded libraries ( + = YES, - = NO )
# /Kb Control basic diagnostic message (/Kb+ = ON, /Kb- = OFF )
# /Kp Unused Parameter Messages (/Kp+ = ON, /Kp- = OFF )
# /Fp2 Pack on two byte boundaries
# /Lf+ Write full listing file ( + = YES, - = NO )
# /Ms use the system calling convention and not optilink as the default
# /O Optimization: ( + = ON, - = OFF )
# /Rx Subsystem Development (where x = e | n, e=runtime environ, n=none)
# /Se allow cset extensions
# /Ss allow "//" for comment lines
# /SpX Pack on "X" boundary, where "X" is 1, 2, 4
# /Ti+ Compile for Debug
#
CCE = icc /c /Kb+ /Kp+
LFLAGSD = /ALIGN:4 /NOI
LIBS = OS2386+PENPM
LINK = LINK386 $(LFLAGSD)
RC = rc
#-------------------------------------------------------------------
# A list of all of the object files
#-------------------------------------------------------------------
all: movekbd.exe movekbd.hlp
movekbd.obj: movekbd.c movekbd.h
$(CCE) movekbd.c
movekbd.hlp: movekbd.ipf movekbd.rc
ipfc movekbd.ipf
movekbd.res: movekbd.rc movekbd.h movekbd.ico movekbd.dlg
$(RC) -r movekbd.rc
movekbd.lnk: movekbd.mak movekbd.def
echo movekbd.obj > movekbd.lnk
echo movekbd.exe >> movekbd.lnk
echo movekbd.map >> movekbd.lnk
echo $(LIBS) >> movekbd.lnk
echo movekbd.def >> movekbd.lnk
movekbd.exe : movekbd.obj movekbd.def movekbd.lnk movekbd.mak movekbd.res
$(LINK) @movekbd.lnk
$(RC) movekbd.res movekbd.exe