18 lines
264 B
Makefile
18 lines
264 B
Makefile
# 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
|