summaryrefslogtreecommitdiffstats
path: root/scripts/tunctl-src/Makefile
blob: 81cab8a3cd3980b997bea7a178a9279ee33fb4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)