62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
!include <ntwin32.mak>
|
|
|
|
NAME = sndvol
|
|
LOBJ = .
|
|
OBJS =$(LOBJ)\volume.obj \
|
|
$(LOBJ)\dlg.obj \
|
|
$(LOBJ)\choice.obj \
|
|
$(LOBJ)\reg.obj \
|
|
$(LOBJ)\vu.obj \
|
|
$(LOBJ)\pvcd.obj \
|
|
$(LOBJ)\mixer.obj \
|
|
$(LOBJ)\nonmixer.obj \
|
|
$(LOBJ)\utils.obj
|
|
|
|
|
|
EXENAME = $(NAME)32.exe
|
|
DEFFILE = $(NAME)32.def
|
|
RESFILE = volume.res
|
|
INC = -I..\..\mo\inc -IC:\guilo\dev\inc
|
|
LIBS = shell32.lib \
|
|
winmm.lib \
|
|
libc.lib \
|
|
version.lib \
|
|
user32.lib \
|
|
gdi32.lib \
|
|
kernel32.lib \
|
|
comctl32.lib \
|
|
advapi32.lib
|
|
DEF = -DWIN32 -DWINVER=0x0400
|
|
|
|
.c.obj:
|
|
$(cc) $(cflags) $(cvars) $(cdebug) -Zp1 -Oxat -Fc $(INC) $(DEF) $*.c
|
|
|
|
.rc.res:
|
|
$(rc) $(rcvars) $(DEF) $(INC) -fo $*.res $*.rc
|
|
|
|
goal: $(EXENAME)
|
|
@echo ***** finished making $(NAME) for Win32 $(CPU) *****
|
|
|
|
$(EXENAME): $(OBJS) $(RESFILE)
|
|
$(link) @<<
|
|
$(linkdebug) $(guiflags) -align:4096 -out:$(EXENAME)
|
|
$(OBJS)
|
|
$(RESFILE)
|
|
$(guilibs)
|
|
$(LIBS)
|
|
<<
|
|
|
|
clean:
|
|
del *.obj
|
|
del *.pdb
|
|
del *.res
|
|
del *.rbj
|
|
del *.exp
|
|
del *.lst
|
|
del *.sym
|
|
del *.map
|
|
del *.exe
|
|
del *.sbr
|
|
del *.sbt
|
|
del *.cod
|