aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-04 07:43:07 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-04 08:10:31 +0530
commit133f55170bdd33fe53d397faa011d9aee00c4c3d (patch)
treeec6f4be83456d00c9968d9bd5c4d5ce661c0a0ce /Makefile
parent241a261531280ba8e925d93314af117dfc97dcd3 (diff)
downloadnnn-133f55170bdd33fe53d397faa011d9aee00c4c3d.tar.gz
Target nolocale: saves more on memory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b55e15f..a867573 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,9 @@ debug: $(SRC)
norl: $(SRC)
$(CC) -DNORL $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
+nolocale: $(SRC)
+ $(CC) -DNORL -DNOLOCALE $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
+
install: all
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
$(INSTALL) -m 0755 $(BIN) $(DESTDIR)$(PREFIX)/bin