upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/unit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Makefile')
-rw-r--r--tests/unit/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/unit/Makefile b/tests/unit/Makefile
index e4ea388..f31172b 100644
--- a/tests/unit/Makefile
+++ b/tests/unit/Makefile
@@ -17,11 +17,11 @@ CFLAGS := -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-sign-com
17 -I $(SECP256K1_CFG) \ 17 -I $(SECP256K1_CFG) \
18 -I /usr/include/cjson 18 -I /usr/include/cjson
19 19
20LDFLAGS := -lmbedcrypto -lcjson 20LDFLAGS := -lmbedcrypto -lcjson -lm
21 21
22SECP256K1_OBJ := secp256k1.o precomputed_ecmult.o precomputed_ecmult_gen.o 22SECP256K1_OBJ := secp256k1.o precomputed_ecmult.o precomputed_ecmult_gen.o
23 23
24TESTS := test_geohash test_identity test_nostr_event test_cashu test_session test_tollgate_client 24TESTS := test_geohash test_identity test_nostr_event test_cashu test_session test_tollgate_client test_lnurl_pay test_lightning_payout
25 25
26.PHONY: all test clean $(TESTS) 26.PHONY: all test clean $(TESTS)
27 27
@@ -65,5 +65,11 @@ test_session: test_session.c $(REPO_ROOT)/main/session.c
65test_tollgate_client: test_tollgate_client.c 65test_tollgate_client: test_tollgate_client.c
66 $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) 66 $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
67 67
68test_lnurl_pay: test_lnurl_pay.c
69 $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
70
71test_lightning_payout: test_lightning_payout.c
72 $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
73
68clean: 74clean:
69 rm -f $(TESTS) $(SECP256K1_OBJ) 75 rm -f $(TESTS) $(SECP256K1_OBJ)