]> git.saurik.com Git - redis.git/blobdiff - deps/linenoise/Makefile
Correctly create shared.oomerr as an sds string.
[redis.git] / deps / linenoise / Makefile
index e4a5476d679370bdada0034f0693c19f4b54c4b6..841f39072fff76ee6060581f0f264ecf8d5a6910 100644 (file)
@@ -1,10 +1,10 @@
 linenoise_example: linenoise.h linenoise.c
 
 linenoise_example: linenoise.o example.o
-       $(CC) -Wall -W -Os -g -o linenoise_example linenoise.o example.o
+       $(CC) $(ARCH) -Wall -W -Os -g -o linenoise_example linenoise.o example.o
 
 .c.o:
-       $(CC) -c -Wall -W -Os -g $<
+       $(CC) $(ARCH) -c -Wall -W -Os -g $<
 
 clean:
-       rm -f linenoise_example
+       rm -f linenoise_example *.o