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