diff options
Diffstat (limited to 'scripts/tunctl-src/Makefile')
-rw-r--r-- | scripts/tunctl-src/Makefile | 17 |
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 @@ | |||
1 | OBJS = tunctl.o | ||
2 | BIN = tunctl | ||
3 | CFLAGS ?= -g -Wall | ||
4 | |||
5 | BIN_DIR ?= /usr/bin | ||
6 | |||
7 | all : $(BIN) | ||
8 | |||
9 | $(BIN) : $(OBJS) | ||
10 | $(CC) $(CFLAGS) -o $(BIN) $(OBJS) | ||
11 | |||
12 | clean : | ||
13 | rm -f $(BIN) $(OBJS) *~ | ||
14 | |||
15 | install : $(BIN) | ||
16 | install -d $(DESTDIR)$(BIN_DIR) | ||
17 | install -s $(BIN) $(DESTDIR)$(BIN_DIR) | ||