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