set compiler std and make optimization level
This commit is contained in:
parent
9addfe1788
commit
0e58d1a23d
5
Makefile
5
Makefile
|
@ -1,5 +1,8 @@
|
|||
CC=gcc
|
||||
CFLAGS=-Wall -std=gnu11 -pedantic -DUNIX_HOST -DVER=\"`git show-ref --abbrev=8 --head --hash head`\" -DTAG=\"`git describe --abbrev=0 --tags`\"
|
||||
|
||||
# -O3
|
||||
# -std=gnu11
|
||||
CFLAGS=-Wall -O3 -std=gnu11 -pedantic -DUNIX_HOST -DVER=\"`git show-ref --abbrev=8 --head --hash head`\" -DTAG=\"`git describe --abbrev=0 --tags`\"
|
||||
LIBS=-lm -lreadline
|
||||
|
||||
TARGET = picoc
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* stdlib.h library */
|
||||
// #include <stdio.h>
|
||||
// #include <unistd.h>
|
||||
/*#include <stdio.h>*/
|
||||
/*#include <unistd.h>*/
|
||||
#include <limits.h>
|
||||
#include <fcntl.h>
|
||||
#include "../interpreter.h"
|
||||
|
|
Loading…
Reference in a new issue