Boost logo

Boost Users :

From: Fred J. (phddas_at_[hidden])
Date: 2006-07-27 09:11:14


Hi
could some one point to a link how how to link/compile with boost? or tell me whats missing from the makefile below?
thanks alot

#include <converter_policies.hpp>
using boost::floor;
...
cout << floor(12.45) << endl;
...

the make file;

OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp))
COMP = g++

proj: $(OBJS)
    $(COMP) -Wall -o proj $(OBJS)
 
#-Wall turns on all warnings

clean:
    rm -rf *.o proj

                 
---------------------------------
Do you Yahoo!?
 Next-gen email? Have it all with the all-new Yahoo! Mail Beta.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net