I'm working on a large Flash CS4 project with multiple swfs and want to consolidate my build process. Are ant/make overkill or have people out there successfully used them on large Flash projects?
Thanks
...
Hi, I am trying to learn wxWidgets library, using mingw and msys to compile the code. So far so good, but I can not find a way to send a command to MSYS through CMD.exe.
I use SublimeText to edit files, and it has an option to run makefiles. I want my makefiles to be able to open an instance of MSYS and send the g++ command and argument...
I'm trying to cross-compile gcc 4.4.3 and it's cross libraries. I have set all the Environment Variables needed for cross-compilation (AS, CC, CXX, AR, RANLIB, STRIP) and used the same setup for a lot of other stuff already, all of which worked fine.
Now gcc itself also compiles without a problem but the support libraries are really puz...
I'm trying to write a makefile using CC on Solaris 10. [Only the first bit of that really matters, I think]. I have the following rule for foo.o:
foo.o: foo.cc common_dependencies.h
CC -c foo.cc -I../../common
Unfortunately, common_dependencies.h includes all sorts of idiosyncratic trash, in directories not named '.' or '../../co...
I'm trying to write a script that uses the make command, but Mac os 10.5 doesn't come with make installed by default, and when you download the make source code from gnu's website, you have to use make itself to compile and install it. which is hard if you don't have it in the first place. How can I install make?
(I know you can get make...
Is makefile an advanced problem or a general problem for a programmer?
For a C++ programmer, how often will he be asked to write a makefile file?
...
I am new to the world of Rake and currently writing a Rake Script which consists of various tasks depending on the arguments passed to it on runtime.
From some Tutorials over the web, I figured out how to pass parameters to the Script as well how to make a task which is dependent on other subtasks.
For reference, I have mentioned a sam...
I'm getting an error when trying to make ffmpeg on my intel mac, iPhone SDK 3.1, using the same command lines that were used here, and using the latest checkout of ffmpeg from svn. Here's the error that I'm getting:
CC libavcodec/apedec.o
AS libavcodec/arm/dsputil_arm.o
/bin/sh: /usr/local/bin/gas-preprocessor.pl: Permission denied
ma...
(I am running Linux Ubuntu 9.10, so the extension for an executable is executablefile.out) I am just getting into modular programming (programming with multiple files) in C and I want to know how to compile multiple files in a single makefile. For example, what would be the makefile to compile these files: main.c, dbAdapter.c, dbAdapte...
Hello all,
I just got help in how to compile this script a few mintues ago on SO but I have managed to get errors. I am only a beginner in C++ and have no idea what the below erros means or how to fix it.
This is the script in question. I have read the comments from some users suggesting they changed the #include parts but it seems to ...
My project (an interpreted language) has a standard library composed by multiple files, each of them will be built into an .so dynamic library that the interpreter will load upon user request (with an import directive).
Each source file is located into a subdirectory representing its "namespace", for instance :
The build process has t...
My Makefile is:
OBJS = b.o c.o a.o
FLAGS = -Wall -Werror
CC = gcc
test: $(OBJS)
$(CC) $(FLAGS) $(OBJS) -o test
b.o: b.c b.h
$(CC) $(FLAGS) -c b.c
a.o: a.c b.h c.h
$(CC) $(FLAGS) -c a.c
c.o: c.c c.h
$(CC) $(FLAGS) -c c.c
clean:
rm a
rm *.o
all: test
If I do make then make again, it always rebuilds 'test'. Why ...
Hi,
In the Makefile.in of an existing c++ project on linux (ubuntu), it has this:
EXPORTS = \
gtkmozembed.h \
gtkmozembed_glue.cpp \
gtkmozembed_internal.h
Can you please tell me what does EXPORTS mean?
Thank you.
...
Relying on the preprocessor and predefined compiler macros for achieving portability seems hard to manage. What's a better way to achieve portability for a C project? I want to put environment-specific code in headers that behave the same way. Is there a way to have the build environment choose which headers to include?
I was thinking t...
The command $ make all gives errors such as rm: cannot remove '.lambda': No such file or directory so it stops. I want it to ignore the rm-not-found-errors. How can I force-make?
Makefile
all:
make clean
make .lambda
make .lambda_t
make .activity
make .activity_t_lambda
clean:
rm .lambda ...
Initially, when I made the question I attributed the problem to wildcards, a problem, but a bigger problem apparently looming. If I understand the error right, GNU make has no make-subprocessing so have to switch to some derivative of Boor's make. I may be understanding it wrong but I try to make this problem easier to understand.
Makef...
I want to provide 'install' target for Makefile for web application. I'd like to be able to install it, for example like described below:
$ make install \
xxxdir=/var/www/cgi-bin
(similarly to how one would use 'bindir' for ordinary programs, and 'mandir' / 'infodir' for documentation).
Is there any standard (similar to autotool...
i have a struct HLRange with two CGFloat's
struct HOLRange
{
CGFloat min;
CGFloat max;
};
typedef struct HOLRange HOLRange;
but how do i make a function like HLRangeMake(1,2); .. like CGRectMake?
--EDIT--
my header file
#import <Foundation/Foundation.h>
struct HOLRange
{
CGFloat min;
CGFloat max;
};
typedef struct HOLRange...
I've been following these instructions at https://developer.mozilla.org/en/Building_PyXPCOM but getting this:
$ make
make export
make[2]: Nothing to be done for `export'.
make[4]: Nothing to be done for `export'.
make[4]: Nothing to be done for `export'.
/opt/local/bin/python2.5 ../../../src/config/nsinstall.py -L /usr/local/pyxpcom/bui...
I use GNU make, I want my source files and object files to be in different folders.
As a first step, I want the source files at the root of my project folder, and the object files in a subfolder (say Debug/).
The inference rule would be:
.ss.obj:
echo Assembling $*.ss...
$(ASSEMBLY) $(2210_ASSEMBLY_FLAGS) $*.ss -o Debug\$*.obj...