PracticeDev/study_clang/makefile_1/Makefile

10 lines
149 B
Makefile

CC=gcc
TARGET=All
OBJECTS= m.o visit.o listen.o watch.o study.o play.o
$(TARGET):$(OBJECTS)
$(CC) $^ -o m
*.o:*.c
$(CC) -c $< -o $@
clean:
rm *.o