aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9176922d37e40adef4edd057ab716fcb994a8cd7 (plain)
1
2
3
4
5
6
7
8
9
10
CFLAGS=-Wall -Wextra -g3

all: main.o tokenizer.o
	cc -o tsl main.o tokenizer.o -fPIE

main.o: src/main.c include/tokenizer.h
	cc -c src/main.c $(CFLAGS)

tokenizer.o: src/tokenizer.c include/tokenizer.h
	cc -c src/tokenizer.c $(CFLAGS)