drop/zig-lib_no-sugar/makefile

18 lines
264 B
Makefile
Raw Normal View History

# No sugar for you!
build: lib
gcc -Os -I. -static -o joke joke.c libtest-gpa.a
lib:
zig build-lib test-gpa.zig -OReleaseSmall
run:
$(VALGRIND) ./joke
include ../mk/makefile.valgrind
# Another library.
lib-alt:
zig build-lib test-gpa2.zig -OReleaseSmall