First, check you did actually save your main.c
file (eclipse does not automatically save a source file)
Then, check if your makefile is autogenerated or if you can write it yourself, as in this thread.
CXXFLAGS = -O2 -g -Wall -fmessage-length=0
OBJS = main.o
LIBS =
TARGET = say.exe
$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(OBJS) $(LIBS)
all: $(TARGET)
clean:
rm -f $(OBJS) $(TARGET)
VonC
2010-01-11 09:40:12