Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC=gcc
- CFLAGS=-Wall -Wextra -pedantic -std=c99
- all: main.o scanner.o expr_parser.c
- $(CC) $(CFLAGS) $^
- main.o: types.c expr_parser.h scanner.h
- $(CC) -c $(CFLAGS) $<
- %.o: %.c %.h
- $(CC) -c $(CFLAGS) $<
- clean:
- rm -rf *.o a.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement