home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
06
/
demo5
< prev
next >
Wrap
Text File
|
1992-01-20
|
618b
|
25 lines
# Update the resource if necessary
demo5.res: demo5.rc demo5.h
rc -r demo5.rc
# Update the object file if necessary
demo5.obj: demo5.c demo5.h
cl -Zi -c -AS -Gsw -Oas -Zpe demo5.c
# Update the executable file if necessary, and if so, add the resource back in.
demo5.exe: demo5.obj demo5.def
link /CODEVIEW /NOD demo5,,, penwin libw slibcew, demo5.def
rc demo5.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.
demo5.exe: demo5.res
rc demo5.res