Hello

I am getting errors like in-frame-below when compiling
c++ project.

could someone help please in telling me whats wrong
with my makefile?
if not, then I will look in the code, but I think my
make file is not
right.

thanks

error******************************************************************
$make -k 
cc main.o stash.o -o proj1
main.o: In function `main':
main.cpp:(.text+0x22): undefined reference to
`Stash::initialize(double)'
main.cpp:(.text+0x88): undefined reference to
`std::cout'
...
**********************************************************************
more info:

[EMAIL PROTECTED]:~/Exercies/ThinkingInC++/Vol1/4thCh/7$ ls
main.cpp  makefile  stash.cpp  stash.h

my makefile:
OBJS= main.o stash.o
proj1: $(OBJS)
        cc $(OBJS) -o $@
.SUFFIXES:.o .h
.h.o:
        $(CC) -c $<

clean:
        rm -f $(OBJS) proj1

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to