#****************************************************************************** # Makefile for SB Live MMPM/2 installation files # # Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, # USA. # #****************************************************************************** !if [SET LIB=..\..\lib;%LIB%] || \ [SET INCLUDE=..\include;%INCLUDE%] !endif .SUFFIXES: .com .sys .exe .obj .mbj .asm .inc .def .lrf .crf .ref \ .lst .sym .map .c .h .lib .msg .pro .txt RCDLL=CARDINFO RCRES=CARDINFO HELPFILE=AUDHELP MIDIDLL=MIDIMAP MIDIRES=MIDIMAP ################################# # Definitions for C Compiler ################################# CC=icc #CFLAGS = /C+ /Gd- /Ge- /Gm+ /Gs- /Re /J- /Ms /Sm /Sn /Ss+ /DINCL_32 CFLAGS = -Q -Si -Ti- -Ge- -Ss+ -W3 -C ################################# # Definitions for linker ################################# LINK=icc LFLAGS= -Q -Fi -Si -Ti- -Ge- -Ss+ -W3 -Gm+ /B"/noe" LIBS=os2386.lib MMPM2.LIB ######################################### # Definitions for RESOURCE compiler ######################################### RC = rc ######################################### # Definitions for Help Compiler ######################################### MS386=icc IPF=ipfc L=ENU P=437 C=1 ################################# # Inference Rules ################################# .c.obj: $(CC) $(CFLAGS) /Fo$( nul @copy control.scr ..\bin > nul @copy audfiles.scr ..\bin > nul ################################## # AUDHELP.HLP Target Descriptions ################################## help: $(HELPFILE).hlp $(HELPFILE).hlp: $(HELPFILE).itl makefile.os2 @echo Creating file $@ > con $(IPF) $(HELPFILE).itl /l=$(L) /codepage=$(P) /country=$(C) @copy $(HELPFILE).hlp ..\bin > nul ############################################################################# # MIDIMAP.DLL Target Descriptions # Take out the #'s at the beginning of the following lines in order to create # a MIDIMAP.DLL resource file. ############################################################################# midimap: $(MIDIDLL).dll $(MIDIDLL).dll: $(RCOBJS) $(MIDIRES).rc makefile.os2 $(MIDIDLL).lrf $(MIDIDLL).def $(LINK) @$(MIDIDLL).lrf $(RC) $(MIDIRES).rc $(MIDIDLL).dll $(MIDIDLL).def: makefile.os2 @echo Creating file <<$(@B).def LIBRARY $(MIDIDLL) DESCRIPTION 'DLL file containing resources' STUB 'OS2STUB.EXE' DATA NONE <