Hi,
I'm creating makefile.lnx for my app(C++).
This what I did:
C_FLAGS = -O6
CC = g++
all: football
football: Football.o moc_Football.o Main.o
$(CC) -o $@ $+ -L$(QTDIR)/lib -lqt
-L$(AMZI_DIR)/lib $(C_FLAGS) -lamzi -lm -lstdc++
Football.o: Football.cpp Football.h LS.h Splash.h
"Mohan Prabhu (IE10)" wrote:
>
> Hi ,
>
> I have source files in different directories
> and corresponding headers in a different set of directories.
The conventional method is to have a Makefile in each source
directory and in the root directory a Makefile that contains
a "for
Hi ,
I have source files in different directories
and corresponding headers in a different set of directories.
Assume that you have many source and header directories as
shown below.
TestProject
|
|--+Source1 --> s11.c