Compare commits

...

2 Commits

3 changed files with 21 additions and 20 deletions

7
c-example/makefile Normal file
View File

@ -0,0 +1,7 @@
all: build
build:
gcc -o example ./example.c -L ../zig-out/lib/ -lhexa
run: build
LD_LIBRARY_PATH=../zig-out/lib/ ./example

View File

@ -2,9 +2,3 @@ all: build
build: build:
zig build zig build
build-test: build
gcc -o example c-example/example.c -L ./zig-out/lib/ -lhexa
run-test: build
LD_LIBRARY_PATH=./zig-out/lib/ ./example