The UNIX and Linux Forums  

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



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-12-2008
borzh62 borzh62 is offline
Registered User
 

Join Date: May 2008
Posts: 6
I created a makefile that is not copying 2.c to tmp:

Code:
all: tmp/*.c

master_source/*.c:

platform_source/*.c:

tmp/*.c: master_source/*.c platform_source/*.c
      @cp $< tmp/
Note that if there exists platform_source/3.c it must be copied too, when modificated.

Last edited by borzh62; 05-13-2008 at 06:56 AM.
Reply With Quote