blob: 3d5b3ed73cf552f8e4456d26c7fe4b38906762ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
CFLAGS=-I. -pthread -Wall -Wextra -Wpedantic -std=c99 -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 eval.c $(CFLAGS)
clean:
rm precedent
|