git » sdk » commit 382d494

Makefile: Add 'clean' target

author Matthew Wild
2025-04-18 13:48:54 UTC
committer Matthew Wild
2025-04-18 13:48:54 UTC
parent 0b9ed708f107233ab7260cffe31446a3ef8aa8cc

Makefile: Add 'clean' target

Makefile +4 -0

diff --git a/Makefile b/Makefile
index ab8a9ad..34959ec 100644
--- a/Makefile
+++ b/Makefile
@@ -49,3 +49,7 @@ cpp/output.dso:
 
 libsnikket.so: cpp/output.dso
 	cp cpp/output.dso libsnikket.so
+
+clean:
+	rm -f npm/browser.js npm/index.js npm/snikket.js npm/snikket-enums.js
+	rm -f npm/index.d.ts npm/snikket.d.ts npm/snikket-enums.d.ts npm/snikket-enums.ts