The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
CEP Event Sources iBot Complex Event Processing RSS News 0 08-23-2007 11:50 AM
Kernel sources byblyk Linux 1 03-06-2006 03:02 PM
Subtract date & time in diferent rows vanand420 UNIX for Dummies Questions & Answers 1 07-10-2005 05:07 AM
unix sources fdarkangel UNIX for Dummies Questions & Answers 2 06-09-2005 07:39 AM
Backing up Folders without some folders...;) chimpu Shell Programming and Scripting 1 04-26-2004 07:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 05-13-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
I would have thought something more or less along these lines:

Code:
tmp/%.c:
      cp $$(test -e platform_source/$*.c && echo platform_source || echo master_source)/$*.c $@
I'm still just struggling with the idea that it's probably better to tell the compiler to prefer files from platform_source over files from master_source and avoid this whole silly copying business (gripes over apparent negligence towards code modularity notwithstanding).
Reply With Quote
Forum Sponsor
  #9  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Posts: 6
Talking

jeje, it's really better, but the company is working with batch files (Windows XP), and that's my idea to reduce compiling time. It would really take a long time to modify all source files along with creating Makefiles. For now I just will create makefile, repeating steps of batch files. Anyway thanks for replys. Good luck!

Last edited by borzh62; 05-13-2008 at 12:59 PM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0