小弟我,最近下载一个源程序,此程序的makefile是如下:
TARGET_ARCH = linux
CC = g++
OPT = -O2 # -O3
DEBUG = -g
OTHER = -Wall -Wno-deprecated
CFLAGS = $(OPT) $(OTHER)
#CFLAGS = $(DEBUG) $(OPT) $(OTHER)
MODULE = noxim
SRCS = TNoC.cpp TRouter.cpp TProcessingElement.cpp TBuffer.cpp TStats.cpp \
TGlobalStats.cpp TGlobalRoutingTable.cpp TLocalRoutingTable.cpp \
TGlobalTrafficTable.cpp TReservationTable.cpp TPower.cpp main.cpp
OBJS = $(SRCS:.cpp=.o)
include ./Makefile.defs
===========================
使用命令make时候,总是提示,无法找到Makefile.defs
在此程序的readme中,这样写:
1) touch Makefile.deps
2) make depend (don't mind about warning messages)
3) make
Note 1: You don't need to repeat steps 1) and 2) after the first
compilation.
Note 2: If you are using SystemC 2.2, please set to DISABLE the
SC_SIGNAL_WRITE_CHECK enviroment variable before compiling.
我不知道所谓的touch Makefile.deps是什么意思?
还有,在这个文件包中,包括一个Makefile.defs的文件,这个是做什么用的呢?
另外,是不是跟SystemC 2.2这个包有关系呢?
ruizhewu 于 2009-04-13 16:41:12发表:
错误信息是: No rule to make target "Makefile.deps", stop