You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
451 B

diff --git a/Makefile b/Makefile
index 24e6a36..74c2647 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
# set gcc as default if CC is not set
-ifndef $(CC)
- CC=gcc
-endif
+CC?=gcc
GIT_VERSION = $(shell git describe --tags --always --dirty=-wip)
@@ -14,7 +12,7 @@ endif
OS := $(shell uname)
SRCS = sslscan.c
-PREFIX = /usr
+PREFIX ?= /usr
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
MAN1DIR = $(MANDIR)/man1