找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 6012|回复: 1

makefile文件怎么写啊

[复制链接]
发表于 2008-1-18 14:25:25 | 显示全部楼层 |阅读模式
我make之后出现这个:
make.exe: *** No rule to make target `.obj/client_handle.o', needed by `client_handle'.  Stop.
是makefile文件的问题吗?
BIN   = client_handle
BUILD = $(VBIN)
SRC = $(addsuffix .cpp,$(BIN))
OBJ= $(addsuffix .o,$(FILES))
LDLIBS=-lACE
LDFLAGS = -L$(PROJ_ROOT)/lib
#---------------------------------------------------
#Include macros and targets
#---------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
__prebuild__:
        @-:
发表于 2008-3-11 23:26:46 | 显示全部楼层
看样子是没有找到client_handle.cpp,需要确定你的FILES变量是否正确
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-11-22 08:00 , Processed in 0.078922 second(s), 11 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表