--- branches/linux-serial/server/Makefile 2007/02/06 21:47:56 66 +++ branches/linux-serial/server/Makefile 2007/02/06 23:37:39 67 @@ -1,6 +1,9 @@ +LINKFLAGS=-lcppserial -lcppsocket -lboost_thread -lpthread -L.. +CXXFLAGS=-fexceptions +OBJS=main.o serialthread.o globalstorage.o thread.o serverthread.o -h7-server: main.o serialthread.o - g++ -o h7-server main.o serialthread.o -lcppserial -lboost_thread -L.. +h7-server: $(OBJS) + g++ $(CXXFLAGS) -o h7-server $(OBJS) $(LINKFLAGS) .PHONY: clean