all: libtest-32.h libtest-64.h libtest-%.h: libtest-%.so xxd -i $^ > $@ sed -i 's#^unsigned#// NOLINTNEXTLINE\nunsigned#' $@ clang-format -i $@ libtest-%.so: test.cc $(CC) -m$* -shared -fPIC -o $@ $^ clean: $(RM) libtest-*.so libtest-*.h