home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
maprog.zip
/
Makefile
< prev
next >
Wrap
Makefile
|
1998-10-02
|
804b
|
37 lines
#
# Makefile for WPS Object 'Multi Argument Program'
#
.SUFFIXES: .c .obj .dll .idl .h .ih .rc .res
SC = sc
SCFLAGS = -maddstar -S128999 -C128000 -mnoint -v
SCLIST = -s "ih;h;c;def"
CFLAGS = /c /Gd- /Se /Re /ss /Ms /Gm+ /Ge- /I.
LFLAGS = /nofree /noi /map /nol /nod /exepack /packcode /packdata /align:16
DLLLIBS = CPPOM30 os2386 somtk.lib
b = maprog
all: $(b).dll $(b).ih
.c.obj:
icc $(CFLAGS) $*.c
$(b).dll : $(b).ih $(b).obj $(b).def $(b).res
ilink $(LFLAGS) $(b).obj,$(b).dll,$(b).map,$(DLLLIBS),$(b);
rc $(b).res $(b).dll
$(b).obj : $(b).c $(b).h $(b).rch
$(b).res : $(b).rc $(b).rch $(b).ico
rc -r $(b).rc
$(b).ih : $(b).idl
$(SC) $(SCFLAGS) $(SCLIST) $(@B).idl
clean :
-rm $(b).ih $(b).h $(b).obj $(b).dll $(b).map $(b).sym $(b).res $(b).def