Thread Subject: How do I call Makefiles?

Subject: How do I call Makefiles?

From: Cesare

Date: 22 Jan, 2009 08:42:06

Message: 1 of 2

Hi! I'm trying to compile two linked .c files.
Let's call these two files foo1.c and foo2.c. I created a text files called Makefile

foo.mexmaci: foo1.c foo2.c
    mex -O -LargeArrayDims foo1.c foo2.c

and I've placed it in the same folder as the two foo1.c and foo2.c files.
How do I now run the Makefile?

Many thanks,
Cesare

Subject: How do I call Makefiles?

From: Nasser Abbasi

Date: 22 Jan, 2009 10:45:27

Message: 2 of 2


"Cesare " <cmfornewsgroup@gmail.com> wrote in message
news:gl9bgu$3a6$1@fred.mathworks.com...
> Hi! I'm trying to compile two linked .c files.
> Let's call these two files foo1.c and foo2.c. I created a text files
> called Makefile
>
> foo.mexmaci: foo1.c foo2.c
> mex -O -LargeArrayDims foo1.c foo2.c
>
> and I've placed it in the same folder as the two foo1.c and foo2.c files.
> How do I now run the Makefile?
>
> Many thanks,
> Cesare

help system

--Nasser

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com