94 lines
1.8 KiB
Plaintext
94 lines
1.8 KiB
Plaintext
#
|
|
# Create a Win32 application
|
|
#
|
|
# Things to know about:
|
|
#
|
|
# Don't put spaces around '=' in assignments as BUILD
|
|
# will GP fault
|
|
#
|
|
# Don't use macros in here. BUILD can't cope
|
|
#
|
|
#
|
|
|
|
MAJORCOMP=windows
|
|
MINORCOMP=SndRec32
|
|
|
|
# Define the name and type of the application
|
|
|
|
TARGETNAME=SndRec32
|
|
TARGETPATH=obj
|
|
TARGETTYPE=PROGRAM
|
|
UMTYPE=windows
|
|
UMENTRY=winmain
|
|
|
|
!if $(PPC)
|
|
!if "$(NTDEBUG)" == "cvp"
|
|
NTDEBUG=
|
|
!endif
|
|
!endif
|
|
|
|
#
|
|
# wait for o2base32.lib to finish
|
|
#
|
|
|
|
SYNCHRONIZE_DRAIN=1
|
|
|
|
# List any libraries not included by WIN32LIBS in MAKEFILE.DEF
|
|
|
|
TARGETLIBS=$(SDK_LIB_PATH)\winmm.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\msacm32.lib \
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
..\..\lib\*\o2base32.lib \
|
|
$(SDK_LIB_PATH)\htmlhelp.lib
|
|
|
|
# Define the path to search for <include> files
|
|
INCLUDES=..\o2base;..\..\inc
|
|
|
|
# Define WIN32 for a 32-bit version
|
|
#
|
|
# -DUNICODE Windows Unicode
|
|
# -D_UNICODE CRuntime Unicode
|
|
# -DOLE2ANSI Ansi OLE 2.0
|
|
# -DWINVER=0x0400 Chicago UI on NT
|
|
#
|
|
|
|
# Unicode
|
|
#
|
|
!if $(PPC)
|
|
C_DEFINES=-DUNICODE -D_UNICODE -DUSE_COMMCTRL -DPPC
|
|
!else
|
|
C_DEFINES=-DUNICODE -D_UNICODE -DUSE_COMMCTRL
|
|
!endif
|
|
|
|
# Ansi only
|
|
#
|
|
# C_DEFINES=-DWIN32 -DWINVER=0x0400 -DUSE_COMMCTRL
|
|
|
|
# list each C and RC source file
|
|
#
|
|
SOURCES=soundrec.c \
|
|
edit.c \
|
|
errorbox.c \
|
|
file.c \
|
|
init.c \
|
|
nftext.c \
|
|
sframe.c \
|
|
wave.c \
|
|
wavedisp.c \
|
|
srecnew.c \
|
|
oleglue.c \
|
|
srfact.cxx \
|
|
srs.cxx \
|
|
fixreg.c \
|
|
convert.c \
|
|
soundrec.rc \
|
|
reg.c \
|
|
buttons.c
|
|
|
|
MISCFILES=sndrec.wav
|
|
|