Skip to content

Commit

Permalink
Remove hard-coded target and optimize
Browse files Browse the repository at this point in the history
Closes biscuitehh#15, closes biscuitehh#20.
Resolves biscuitehh#7, resolves biscuitehh#14, resolves biscuitehh#16, resolves biscuitehh#17.
  • Loading branch information
jnooree committed Nov 7, 2022
1 parent 6061b86 commit 08f86ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
VERSION = 2
LIBRARY_NAME = pam_watchid.so
DESTINATION = /usr/local/lib/pam
TARGET = x86_64-apple-macosx10.15
TARGET = $(shell clang -dumpmachine)

all:
swiftc watchid-pam-extension.swift -o $(LIBRARY_NAME) -target $(TARGET) -emit-library
swiftc watchid-pam-extension.swift -O -Ounchecked -gnone -o $(LIBRARY_NAME) -target $(TARGET) -emit-library

install: all
mkdir -p $(DESTINATION)
Expand Down

0 comments on commit 08f86ef

Please sign in to comment.