You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
686 B
16 lines
686 B
Index: Makefile.cmdline |
|
--- Makefile.cmdline.orig 2018-08-05 08:39:19.485538000 +0200 |
|
+++ Makefile.cmdline 2018-08-05 08:40:08.745957000 +0200 |
|
@@ -9,9 +9,9 @@ |
|
examples/cmdline/duk_cmdline.c |
|
|
|
CC = gcc |
|
-CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer |
|
-CCOPTS += -I./examples/cmdline -I./src # duktape.h and duk_config.h must be in include path |
|
-CCLIBS = -lm |
|
+CCOPTS = -std=c99 -fstrict-aliasing -fomit-frame-pointer |
|
+CCOPTS += -I./examples/cmdline -I./src -I$(PREFIX)/include |
|
+CCLIBS= -L$(PREFIX)/lib -lm |
|
|
|
# Enable print() and alert() for command line using an optional extra module. |
|
CCOPTS += -DDUK_CMDLINE_PRINTALERT_SUPPORT -I./extras/print-alert
|
|
|