【发布时间】:2011-04-25 09:02:52
【问题描述】:
请在下面的makefile中解释$@ $^ $
LIBS = -lkernel32 -luser32 -lgdi32 -lopengl32
CFLAGS = -Wall
# (This should be the actual list of C files)
SRC=$(wildcard '*.c')
test: $(SRC)
gcc -o $@ $^ $(CFLAGS) $(LIBS)
【问题讨论】:
标签: makefile