summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-07 17:34:06 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-07 17:34:06 -0400
commit0108aeec741a8f7cc86dd42955eacdf5312c63ef (patch)
tree11f27e45e61e4cb467c412db09673e83ba388fcd /Makefile
parentdc362fa7e098cc48bd2a48542c2f1a9bcbfcb11e (diff)
Makefile fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b758288..1942852 100644
--- a/Makefile
+++ b/Makefile
@@ -17,9 +17,9 @@ PYTHON = /usr/bin/env python3
17INSTALL = install -C 17INSTALL = install -C
18INSTALL_MKDIR = $(INSTALL) -d -m 755 18INSTALL_MKDIR = $(INSTALL) -d -m 755
19 19
20prefix ?= /usr 20prefix = /usr
21bindir ?= $(prefix)/bin 21bindir = $(prefix)/bin
22etcdir ?= /etc 22etcdir = /etc
23 23
24# Targets 24# Targets
25.PHONY: all clean 25.PHONY: all clean
@@ -52,7 +52,7 @@ cscope.out:
52 @cscope -bv ./*.[ch] &> /dev/null 52 @cscope -bv ./*.[ch] &> /dev/null
53 53
54clean: 54clean:
55 rm -f $(OBJECTS) $(EXECUTABLES) cscope.out gitversion.h tox_bootstrap.h 55 rm -f $(OBJECTS) $(EXECUTABLES) cscope.out gitversion.h
56 56
57install: tuntox_nostatic 57install: tuntox_nostatic
58 install -d -m755 $(DESTDIR)$(bindir) $(DESTDIR)$(etcdir) 58 install -d -m755 $(DESTDIR)$(bindir) $(DESTDIR)$(etcdir)