makefile problem

2002-12-03 Thread Eric Halim
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

Re: Makefile problem

2000-05-22 Thread Chris Albertson
"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

Makefile problem

2000-05-22 Thread Mohan Prabhu \(IE10\)
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