blob: a9b5503fd87f1339b0adf531af40b316992ce4a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
CFLAGS=-I. -pthread -Wall -Wextra -Wpedantic -std=c99 -march=native -O3 -lm
CFLAGS+= -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith -Wcast-align -Wstrict-overflow=5 -Wswitch-default
CFLAGS+= -Wunreachable-code -Wswitch-enum -Wformat=2 -g
PREFIX ?= /usr
BINDIR ?= ${PREFIX}/bin
generate:
$(CC) -o precedent precedent.c hashtable.c scope.c parse.c $(CFLAGS)
clean:
rm precedent
|