Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FLAGS=-Wall -Wextra -Wpedantic -g
- TARGET=queue
- SRCS= queue.c
- OBJS=$(SRCS:.c=.o)
- %.o:%.c
- $(CC) $(CFLAGS) $< -c -o $@
- all: $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $(TARGET)
- .PHONY:clean
- clean:
- -$(RM) $(TARGET) $(OBJS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement