diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ | |||
1 | LIBNAME = lpeglabel | 1 | LIBNAME = lpeglabel |
2 | LUADIR = /usr/include/lua5.1/ | 2 | LUADIR = ../lua/ |
3 | 3 | ||
4 | #COPT = -O2 | 4 | COPT = -O2 |
5 | COPT = -DLPEG_DEBUG -g | 5 | # COPT = -DLPEG_DEBUG -g |
6 | 6 | ||
7 | CWARNS = -Wall -Wextra -pedantic \ | 7 | CWARNS = -Wall -Wextra -pedantic \ |
8 | -Waggregate-return \ | 8 | -Waggregate-return \ |
@@ -22,7 +22,7 @@ CWARNS = -Wall -Wextra -pedantic \ | |||
22 | # -Wunreachable-code \ | 22 | # -Wunreachable-code \ |
23 | 23 | ||
24 | 24 | ||
25 | CFLAGS = $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC | 25 | CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC |
26 | CC = gcc | 26 | CC = gcc |
27 | 27 | ||
28 | FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o | 28 | FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o |