Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FLAGS = -g -Wall -pedantic -Wextra
- LIBNAME = libmows.a
- SAMPLE = example_hello
- libmows.a:
- cc $(FLAGS) -c mows.c http_parser.c
- ar rvs $(LIBNAME) *.o
- sample: libmows.a
- cc $(FLAGS) $(SAMPLE).c $(LIBNAME) -o $(SAMPLE) -pthread
- clean:
- rm -f *.o $(LIBNAME)
- run:
- ./$(SAMPLE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement