diff --git a/darwin-wrapper/Makefile b/darwin-wrapper/Makefile index 1d00c43..d5fa0f4 100644 --- a/darwin-wrapper/Makefile +++ b/darwin-wrapper/Makefile @@ -3,17 +3,10 @@ SWIFTC = swiftc PREFIX = /usr/local -SWIFTC_VERS = $(shell swiftc -version | grep -i swift | awk 'match($$0, /[0-9]/) {print substr($$0, RSTART, RLENGTH) }') - all: doh-logger - $(info SWIFTC_VERS="$(SWIFTC_VERS)") doh-logger: doh-logger.swift - ifeq ($(SWIFTC_VERS), 5) - $(SWIFTC) -o $@ -O $< - else - $(SWIFTC) -o $@ -O -static-stdlib $< - endif + $(SWIFTC) -o $@ -O $< clean: rm -f doh-logger