diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2024-09-12 15:48:15 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2024-09-12 15:48:15 +0900 |
commit | 2b4218212198403eaa91fd99200611276b1f457a (patch) | |
tree | caae727a18585ac06ab43c046caa5061ca69a95c /Makefile | |
parent | 0ac8c3aa841212a193bcf027025521f7adf71255 (diff) | |
download | goatc-2b4218212198403eaa91fd99200611276b1f457a.tar.gz |
Fix clang plugin path lookup
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 37f2fb0..c0b4a39 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,9 @@ all: $(LIB) goatc.so: goatc.cc ${CXX} ${CXXFLAGS} $< ${LDLIBS} -o $@ -shared ${LDFLAGS} +goatcflags: goatcflags.m4 + m4 -D PREFIX=${PREFIX} $< > $@ + install: $(INSTALLED_LIB) $(INSTALLED_BIN) ${DESTDIR}${PREFIX}/lib/%: % |