summaryrefslogtreecommitdiffstats
path: root/scripts/tunctl-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tunctl-src/Makefile')
-rw-r--r--scripts/tunctl-src/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/tunctl-src/Makefile b/scripts/tunctl-src/Makefile
new file mode 100644
index 0000000000..81cab8a3cd
--- /dev/null
+++ b/scripts/tunctl-src/Makefile
@@ -0,0 +1,17 @@
1OBJS = tunctl.o
2BIN = tunctl
3CFLAGS ?= -g -Wall
4
5BIN_DIR ?= /usr/bin
6
7all : $(BIN)
8
9$(BIN) : $(OBJS)
10 $(CC) $(CFLAGS) -o $(BIN) $(OBJS)
11
12clean :
13 rm -f $(BIN) $(OBJS) *~
14
15install : $(BIN)
16 install -d $(DESTDIR)$(BIN_DIR)
17 install -s $(BIN) $(DESTDIR)$(BIN_DIR)