[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Makefile with sources in diferent folders
From: |
Boris Godin |
Subject: |
Makefile with sources in diferent folders |
Date: |
Mon, 12 May 2008 11:04:16 -0300 |
User-agent: |
Thunderbird 2.0.0.14 (Windows/20080421) |
Hi guys!
I have a problem to create a makefile when using 2 types of sources.
Suppose we have sources at master_source folder:
- 1.c
- 2.c
and also we have sources at platform_source folder:
- 1.c
I really need to use platform_source folder because there is many of
them (one folder with 1.c, 2.c, neither or both for each platform)
I need to copy master_source files to a diferent folder (say tmp) and
there overwrite files with ones at platform_source folder.
So if i touch platform_source/1.c it shoul copy only this file to tmp
folder. And if i touch master_src/1.c, it should copy master_src/1.c to
tmp and after it copy platform_source/1.c to tmp (or don't do anything,
because our source depends mostly on platform_source folder).
If someone can help me to create such a makefile i would apreciate it.
Thanks!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Makefile with sources in diferent folders,
Boris Godin <=