home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
mmpm2
/
ssndrexx
/
makefile
next >
Wrap
Makefile
|
1993-04-27
|
1KB
|
55 lines
.SUFFIXES: .com .sys .exe .obj .mbj .asm .inc .def .lrf .crf .ref \
.lst .sym .map .c .h .lib .msg .txt .cvk
NAMEDLL = SSNDREXX
CCOMP = icc
# CFLAGS = /C /Gs- /Ki- /W3 /Ss+ /Ge- /Ms /Gd- /Gm- /Ti+ /O- /Q+ /DINCL_32
CFLAGS = /C /Gs- /Ki- /W3 /Ss+ /Ge- /Ms /Gd- /Gm- /O+ /Q+ /DINCL_32
LINK386 = link386
MAP = mapsym $(NAMEDLL)
LIBS386 = OS2386.LIB DDE4NBS.LIB mmpm2.lib
DLLOBJS = ssndrexx.obj
all: dll
dll: $(NAMEDLL).dll
$(NAMEDLL).dll: $(DLLOBJS) makefile $(NAMEDLL).lrf $(NAMEDLL).def
$(LINK386) @$(NAMEDLL).lrf
$(MAP)
ssndrexx.obj: ssndrexx.c makefile
$(CCOMP) $(CFLAGS) ssndrexx.c
$(NAMEDLL).def: makefile
@echo Creating file <<$(@B).def
LIBRARY SSNDREXX INITINSTANCE TERMINSTANCE
BASE = 0x1BF00000
SEGMENTS
SSND_SHR CLASS 'DATA' SHARED
DATA MULTIPLE NONSHARED
HEAPSIZE 44120
STACKSIZE 53000
EXPORTS
FindSystemSounds
PlaySound
<<keep
$(NAMEDLL).lrf: makefile
@echo Creating file <<$(@B).lrf
$(DLLOBJS)
$(NAMEDLL).dll
$(NAMEDLL).map /map /nod /noi
$(LIBS386)
$(NAMEDLL).def;
<<keep