![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Makefile very simple question. | marcintom | High Level Programming | 1 | 05-04-2008 08:20 AM |
| Seems the Shell Script is very tough | prince_of_focus | Shell Programming and Scripting | 1 | 07-18-2006 02:05 PM |
| Tough Questoin lets see if any of you can answer it | derekmpage | UNIX for Dummies Questions & Answers | 1 | 09-13-2005 07:57 AM |
| Makefile question | hc29 | UNIX for Dummies Questions & Answers | 1 | 07-13-2004 03:52 AM |
| Tough question - interactive prompts | peter.herlihy | Shell Programming and Scripting | 2 | 02-21-2002 09:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Tough makefile question
At my company, we build some stuff using a makefile. While the makefile script is running, a developer may check in a newer version of a source file. The problem is, when we next run the make command, the target file isn't rebuilt, because the date of the target is after the dependency.
Any ideas to get this to work without rebuilding everything every time? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
After the build is complete, set the timestamp of all files used and generated to the exact time the build was started.
Then when you do a cvs update or whatever newer files will be shown as newer. |
|||
| Google The UNIX and Linux Forums |