Makefile imply dependencies and ancient lore
ancient lore
1 make(是对第一个target进行操作)
2 省略
ex1:ex1.c
CFLAGS=-Wall -g
all:clean ex1
clean:
rm -rf ex1
all:clean ex1代表了两步操作。
CFLAGS=-Wall -g
all:clean ex1
clean:
rm -rf ex1
Makefile imply dependencies and ancient lore
ancient lore
1 make(是对第一个target进行操作)
2 省略
ex1:ex1.c
CFLAGS=-Wall -g
all:clean ex1
clean:
rm -rf ex1
all:clean ex1代表了两步操作。
CFLAGS=-Wall -g
all:clean ex1
clean:
rm -rf ex1