18 lines
529 B
Diff
18 lines
529 B
Diff
|
Index: deps/linenoise/Makefile
|
||
|
===================================================================
|
||
|
--- deps/linenoise/Makefile.orig
|
||
|
+++ deps/linenoise/Makefile
|
||
|
@@ -1,10 +1,10 @@
|
||
|
linenoise_example: linenoise.h linenoise.c
|
||
|
|
||
|
linenoise_example: linenoise.o example.o
|
||
|
- $(CC) $(ARCH) -Wall -W -Os -g -o linenoise_example linenoise.o example.o
|
||
|
+ $(CC) $(ARCH) $(CFLAGS) -o linenoise_example linenoise.o example.o
|
||
|
|
||
|
.c.o:
|
||
|
- $(CC) $(ARCH) -c -Wall -W -Os -g $<
|
||
|
+ $(CC) $(ARCH) -c $(CFLAGS) $<
|
||
|
|
||
|
clean:
|
||
|
rm -f linenoise_example *.o
|