make' match'是最新的

时间:2017-05-05 11:37:12

标签: makefile gnu-make

当我运行siftDemoV4的代码时,我收到以下错误:

  

make'匹配'是最新的

这有什么问题?我知道Makefile

有问题
# ------------------ Compilation options ------------------------

# Loads math library.  
LIBS = -lm

# Flags for the C compiler:
#   -Wall for strict gcc warnings (requires prototypes for all functions).
#   -g to produce debug data for gdb
#   -O for optimization
CFLAGS = -Wall -g

CC = gcc

# --------------------- Code modules ----------------------------

# Object files
OBJ = match.o util.o

# Definitions
DEFS = defs.h

# ------------------------ Rules --------------------------------

match: ${OBJ}
    ${CC} -o $@ ${CFLAGS} ${OBJ} ${LIBS}

# Implicit rule used by Gnu Make: $(CC) -c $(CPPFLAGS) $(CFLAGS)
${OBJ}: ${DEFS}

0 个答案:

没有答案