git » sdk » commit dbd515b

Makefile: Add 'clean' target

author Matthew Wild
2025-04-18 13:48:54 UTC
committer Stephen Paul Weber
2025-09-29 13:41:52 UTC
parent 2cf2072c32aadcdf74e12eca2a697b039ecd2f19

Makefile: Add 'clean' target

Makefile +4 -0

diff --git a/Makefile b/Makefile
index 59db28c..0b2548d 100644
--- a/Makefile
+++ b/Makefile
@@ -64,3 +64,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