PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Help with makefile


Your Ad Here

Your Ad Here

I have the following makefile for my project:

NEWGCC =afs-ies.auc.dk-sw-released 3G =afs-ies.auc.dk-project-3.9G-Private-dist CXX = g++ CPPFLAGS = -g -Wall -pipe -I$(3G)-include -I$(NEWGCC)-include -I$(3G)-..-librariescpp -pg LDFLAGS = -L$(NEWGCC)-lib -L$(3G)-lib -lboostfilesystem-gcc-d-1331 -lboostprogramoptions-gcc-1331 -lxerces-c

.SUFFIXES: .c .cpp

TARGET = EUTRAN HDR = Debug.h GlobalFunctions.h NormalDistribution.h

OBJ = Antenna.o HandOver.o RadioChannel.o BaseStation.o Mobility.o Sector.o Connection.o Network.o ShadowFading.o EUTRAN.o PathGain.o UserEquipment.o PilotMeasurement.o PowerControl.o FairResourcePS.o FastFading.o PacketScheduler.o PathLossBasedPS.o SinrBasedPS.o SinrBasedPSII.o SinrBasedPartialAllocationPS.o SinrBasedWithoutPowerScalingPS.h WriteToFile.o UeTxBuffer.o Block.o

PARSEROBJ = Parameter.o StrX.o DOMParserErrorHandler.o

all: parser $(OBJ) $(TARGET) $(HDR)

.cpp.o:

parser: parser-Parameter.o parser-StrX.o parser-DOMParserErrorHandler.o

$(TARGET): $(OBJ) $(PARSEROBJ)

purify: $(OBJ) purify $(CXX) $(OBJ) -o ..-$(TARGET)

clean: -find . -name "*.o" -exec rm -rf {};

How to count the number of
WTF are you talking about? Now comes the "canned" speech about what's wrong with GG posting. It's offered as a learning tool, to help you get more, and better help, without upsetting old...

it perfectly worked till recently when I added some more .cpp files that were anyway included in the OBJ definition. Now, when I run the make command, I get the following error: make: *** No rule to make target `EUTRAN.o', needed by `all'. Stop. EUTRAN.cpp is the main.

Can anyone help?

Thanks Cesco



Your Ad Here

List | Previous | Next

How to count the number of

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Disk freezes but pbuttes SMART test hda: drive_cmd: status=0x51