all: add static and release Makefile targets

This commit is contained in:
Ayke van Laethem
2019-01-22 13:35:45 +01:00
parent e7ad366f20
commit 05d2c14600
5 changed files with 152 additions and 12 deletions
-2
View File
@@ -9,8 +9,6 @@ import (
)
/*
#cgo CFLAGS: -I/usr/lib/llvm-7/include
#cgo LDFLAGS: -L/usr/lib/llvm-7/lib -lclang
#include <clang-c/Index.h> // if this fails, install libclang-7-dev
#include <stdlib.h>
+9
View File
@@ -0,0 +1,9 @@
// +build !byollvm
package loader
/*
#cgo CFLAGS: -I/usr/lib/llvm-7/include
#cgo LDFLAGS: -L/usr/lib/llvm-7/lib -lclang
*/
import "C"