home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
sounds
/
winplay
/
winplay.mk
< prev
next >
Wrap
Text File
|
1995-05-18
|
770b
|
30 lines
# This line allows NMAKE to work as well
all: winplay.exe
# Update the resource if necessary
winplay.res: winplay.rc winplay.h
rc -r winplay.rc
# Update the object file if necessary
winplay.obj: winplay.c winplay.h
cl -c -W3 -AS -Gsw -Oas -Zpe winplay.c
#filepen.obj: fileopen.c winplay.h
# cl -c -W3 -AS -Gsw -Oas -Zpe fileopen.c
# Update the executable file if necessary, and if so, add the resource back in.
winplay.exe: winplay.obj winplay.def
link /NOD winplay,,, libw slibcew, winplay.def
rc winplay.res
# If the .res file is new and the .exe file is not, update the resource.
# Note that the .rc file can be updated without having to either
# compile or link the file.
winplay.exe: winplay.res
rc winplay.res