[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Following makefile does not work right.
From: |
이병준 |
Subject: |
Following makefile does not work right. |
Date: |
Fri, 14 Sep 2001 11:56:27 +0900 |
.SUFFIXES : .cpp .o
AR = ar
ARFLAGS = rcs
CXX = g++
INCLUDEDIR = -I../include -I.
CXXFLAGS = -g -Wall -D_REENTRANT -D_DEBUG=DEEPEST
LIBDIR = -L../lib/
LIBS = -lpep -lcops -lcopspr -lcthread -lcsocket -lpthread -lptmalloc
SRCS = threadtest.cpp sockettest.cpp pdptest2.cpp stltest.cpp small.cpp
OBJS = $(SRCS:.cpp=.o)
TARGETS = $(SRCS:.cpp=)
all : $(TARGETS)
% : %.o
$(CXX) $(CXXFLAGS) $(LIBDIR) -o $@ address@hidden $(LIBS)
%.o : %.cpp
$(CXX) $(CXXFLAGS) $(INCLUDEDIR) -c $< -o $@
clean :
\rm -f $(OBJS) $(TARGETS)
veryclean :
\rm -f $(OBJS) $(TARGETS)
depend :
makedepend -- $(CXXFLAGS) $(INCLUDEDIR) -- $(SRCS)
- - -
Above Makefile works correctly when I used GNU make version 3.78.1.
But Using 3.79.1, above does not work right.
Regards,
- - -
Byung-Joon Lee,
Network Architecture Team of ETRI
address@hidden +82 42 860 1728
http://oopsla.snu.ac.kr/~bjlee
- Following makefile does not work right.,
이병준 <=