home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-17 | 1.1 KB | 34 lines |
- # Standard Windows make file. The utility MAKE.EXE compares the
- # creation date of the file to the left of the colon with the file(s)
- # to the right of the colon. If the file(s) on the right are newer
- # then the file on the left, Make will execute all of the command lines
- # following this line that are indented by at least one tab or space.
- # Any valid MS-DOS command line may be used.
-
- # This line allows NMAKE to work as well
-
- all: dllvoice.exe
-
- # Update the resource if necessary
-
- dllvoice.res: dllvoice.rc dllvoice.h
- rc -r dllvoice.rc
-
- # Update the object file if necessary
-
- dllvoice.obj: dllvoice.c dllvoice.h
- cl -c -AS -Gsw -Od -Zip dllvoice.c
-
- # Update the executable file if necessary, and if so, add the resource back in.
-
- dllvoice.exe: dllvoice.obj dllvoice.def
- link /CO/NOD dllvoice,,, libw slibcew, dllvoice.def
- rc dllvoice.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.
-
- dllvoice.exe: dllvoice.res
- rc dllvoice.res
-