diff options
Diffstat (limited to 'scripts/tunctl-src')
-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 000000000..81cab8a3c --- /dev/null +++ b/scripts/tunctl-src/Makefile @@ -0,0 +1,17 @@ +OBJS = tunctl.o +BIN = tunctl +CFLAGS ?= -g -Wall + +BIN_DIR ?= /usr/bin + +all : $(BIN) + +$(BIN) : $(OBJS) + $(CC) $(CFLAGS) -o $(BIN) $(OBJS) + +clean : + rm -f $(BIN) $(OBJS) *~ + +install : $(BIN) + install -d $(DESTDIR)$(BIN_DIR) + install -s $(BIN) $(DESTDIR)$(BIN_DIR) |