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

8.7

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