Skip to content

Commit

Permalink
make build script build static library
Browse files Browse the repository at this point in the history
  • Loading branch information
an-prata committed Jan 22, 2023
1 parent 7285eb1 commit f546d72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/bash

gcc -o bin/scrutiny-test scrutiny/scrutiny.c scrutiny/main.c
mkdir -p build/
gcc -c scrutiny/scrutiny.c -o build/scrutiny.o
ar rcs build/scrutiny.a build/scrutiny.o

0 comments on commit f546d72

Please sign in to comment.