Search Results

Search: Posts Made By: borzh62
Forum: Linux 05-13-2008
16,009
Posted By borzh62
jeje, it's really better, but the company is...
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...
Forum: Linux 05-13-2008
16,009
Posted By borzh62
Figured it out
I figured it out. The solution was to use timestamps. Here is the makefile:



MASTER_SRC_DIR = master_src
MASTER_SRC_FILES = $(wildcard $(MASTER_SRC_DIR)/*.c)
SPECIFIC_SRC_DIR ...
Forum: Linux 05-12-2008
16,009
Posted By borzh62
wildcards
Its okay when we're talking about small program, but we're talking about lines and lines of code. If you would see something ugly as:

#ifdef MOTOROLA_Z6
// 3000 lines of code
#else
#ifdef...
Forum: Linux 05-12-2008
16,009
Posted By borzh62
I created a makefile that is not copying 2.c to...
I created a makefile that is not copying 2.c to tmp:


all: tmp/*.c

master_source/*.c:

platform_source/*.c:

tmp/*.c: master_source/*.c platform_source/*.c
@cp $< tmp/



Note...
Forum: Linux 05-12-2008
16,009
Posted By borzh62
Well, that what you propose is very nice, but i...
Well, that what you propose is very nice, but i just give you an example, so you can understand that i have no other way.
I'm working in a company that makes games for cellphones, games have common...
Forum: Linux 05-12-2008
16,009
Posted By borzh62
Makefile with sources in diferent folders
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:
...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 03:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy