Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CFLAGS = -std=gnu99 -Wall -Wextra -Werror -pedantic
- CC = gcc
- DEBUG = -g
- rivercrossing: rivercrossing.o func.o
- $(CC) $(CFLAGS) $(DEBUG) -o rivercrossing rivercrossing.o -lpthread
- rivercrossing.o: rivercrossing.c
- $(CC) $(CFLAGS) $(DEBUG) -c -o rivercrossing.o rivercrossing.c
- func.o: func.h
- $(CC) $(CFLAGS) $(DEBUG) -c -o func.o func.h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement