红联Linux门户
Linux帮助

请高手指点

发布时间:2007-07-26 19:34:17来源:红联作者:linux_lover
有人在红旗linux下编译as86吗?我在用make编译时.老是报错,错误好像是:"没有规则为as生成目标",大侠给解决一下.谢谢.以下是makefile文件内容:
CFLAGS =-O
LDFLAGS =

OBJS =as.o assemble.o error.o express.o \
genbin.o genlist.o genobj.o gensym.o \
keywords.o macro.o mops.o pops.o \
readsrc.o scan.o table.o typeconv.o

as: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o as
# chmem =150000 as

as.o: const.h type.h byteord.h macro.h file.h flag.h globvar.h
assemble.o: const.h type.h address.h globvar.h opcode.h scan.h
error.o: const.h type.h
express.o: const.h type.h address.h globvar.h scan.h source.h
genbin.o: const.h type.h address.h file.h globvar.h
genlist.o: const.h type.h address.h flag.h file.h globvar.h macro.h scan.h \
source.h
genobj.o: const.h type.h address.h file.h globvar.h
gensym.o: const.h type.h flag.h file.h globvar.h
keywords.o: const.h type.h opcode.h
macro.o: const.h type.h globvar.h scan.h macro.h
mops.o: const.h type.h globvar.h opcode.h scan.h address.h
pops.o: const.h type.h address.h flag.h globvar.h opcode.h scan.h
readsrc.o: const.h type.h flag.h file.h globvar.h macro.h scan.h source.h
scan.o: const.h type.h scan.h
table.o: const.h type.h globvar.h scan.h
文章评论

共有 0 条评论