Created
August 8, 2023 09:01
-
-
Save gahr/b59b536dd4c88c3aeb88ddf8117adc88 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 28jul23 Software Lab. Alexander Burger | |
CC = clang15 | |
PIL = ../pil # pil | |
ASM = opt15 -O3 # llvm-as | |
LLC = llc15 | |
LINK = llvm-link15 | |
MAIN = -L/usr/local/lib -rdynamic -lc -lutil -lm -ldl -lreadline -lffi | |
SHARED = -shared | |
STRIP = strip | |
LLVM = $(shell llvm-config15 --version | cut -d. -f1) | |
ifeq ($(shell test $(LLVM) -ge 15 -a $(LLVM) -lt 18; echo $$?), 0) | |
ASM += -opaque-pointers | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment