summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e937827..c908260 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -78,6 +78,9 @@ endif
uanytun: $(OBJ)
$(CC) $(OBJ) -o $@ $(LDFLAGS)
+strip: $(EXECUTABLE)
+ $(STRIP) -s $(EXECUTABLE)
+
%.o: %.c
$(CC) $(CFLAGS) -c $<
@@ -102,7 +105,6 @@ install: all install-bin install-etc install-man
install-bin: $(EXECUTABLE)
mkdir -p $(DESTDIR)$(SBINDIR)
install -m 755 $(EXECUTABLE) $(DESTDIR)$(SBINDIR)
- $(STRIP) $(DESTDIR)$(SBINDIR)/$(EXECUTABLE)
install-etc:
mkdir -p $(DESTDIR)$(ETCDIR)/uanytun