Skip to content
Snippets Groups Projects
Commit 95774cb0 authored by 이장원's avatar 이장원
Browse files

8.7

parent 04beffec
Branches
No related tags found
No related merge requests found
......@@ -4,17 +4,11 @@ OBJS=main.o func.o
test: $(OBJS)
$(CC) -o $@ $^
id: main.o id_func.o
$(CC) -o test $(OBJS)
main.o: main.c
$(CC) -c main.c
$(CC) -c $^
func.o: func.c
$(CC) -c func.c
$(CC) $(CFLAGS) -c $^
id_func.o: func.c
$(CC) -DPRINT_ID -c func.c
clean:
rm $(OBJS) test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment