# # 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 # List any libraries not included by WIN32LIBS in MAKEFILE.DEF TARGETLIBS=$(BASEDIR)\public\sdk\lib\*\winmm.lib \ $(BASEDIR)\public\sdk\lib\*\comdlg32.lib \ $(BASEDIR)\public\sdk\lib\*\shell32.lib \ $(BASEDIR)\public\sdk\lib\*\ole32.lib \ $(BASEDIR)\public\sdk\lib\*\uuid.lib \ $(BASEDIR)\public\sdk\lib\*\msacm32.lib \ $(BASEDIR)\public\sdk\lib\*\comctl32.lib \ ..\..\lib\*\o2base32.lib \ # Define the path to search for 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 -DWIN32 -DWINVER=0x0400 -DUSE_COMMCTRL -DPPC !else C_DEFINES=-DUNICODE -D_UNICODE -DWIN32 -DWINVER=0x0400 -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