Skip to content

Commit

Permalink
Define Version 5.1 in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Randolf committed Oct 3, 2017
1 parent a674e84 commit c15499e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ LIBNL=3.0
OSX=0

NAME=horst
VERSION=5.1
#VERSION=$(shell git describe --tags)

OBJS= \
average.o \
capture$(if $(filter 1,$(PCAP)),-pcap).o \
Expand Down Expand Up @@ -52,7 +55,7 @@ OBJS= \
util.o \
wlan_util.o
LIBS=-lncurses -lm
CFLAGS+=-std=gnu99 -Wall -Wextra -g -I. -DVERSION=\"$(shell git describe --tags)\"
CFLAGS+=-std=gnu99 -Wall -Wextra -g -I. -DVERSION=\"$(VERSION)\"

ifeq ($(OSX),1)
PCAP=1
Expand Down

0 comments on commit c15499e

Please sign in to comment.