diff options
| author | Sébastien Marie <semarie@online.fr> | 2022-02-25 08:49:25 +0000 |
|---|---|---|
| committer | Sébastien Marie <semarie@online.fr> | 2022-02-25 08:49:25 +0000 |
| commit | 5676c9e7ebcec9af526c59ece1faf2e8b15e457c (patch) | |
| tree | e55736f4c0d291caac7c90d6184baf7cdadf1fcd /Makefile | |
| parent | 3a469dc13ec27fc77a408d823d501c7ad1da1811 (diff) | |
initial OpenBSD support
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -58,6 +58,12 @@ ifeq ($(OS), Linux) CFLAGS:=$(CFLAGS) $(shell $(LLVM_CONFIG) --cxxflags --ldflags) LDFLAGS:=$(LDFLAGS) $(shell $(LLVM_CONFIG) --libs core native --system-libs) endif +ifeq ($(OS), OpenBSD) + LLVM_CONFIG=/usr/local/bin/llvm-config + + CFLAGS:=$(CFLAGS) $(shell $(LLVM_CONFIG) --cxxflags --ldflags) + LDFLAGS:=$(LDFLAGS) -liconv $(shell $(LLVM_CONFIG) --libs core native --system-libs) +endif all: debug demo |