blob: 83970cfde0131cef9554423c5b205d7ea4999eb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CFLAGS=-I. -Wall -Wextra -Wpedantic -O3 -lm -Wcast-align
CFLAGS+= -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith
CFLAGS+= -Wunreachable-code -Wformat=2 -g
PREFIX ?= /usr
BINDIR ?= ${PREFIX}/bin
generate:
$(CC) -o operetta operetta.c proposition.c parse.c lexer.c $(CFLAGS)
install: operetta
install operetta ${DESTDIR}${BINDIR}
clean:
rm precedent
uninstall:
rm -f ${DESTDIR}${BINDIR}/operetta
|