X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=blobdiff_plain;f=Makefile;h=93311639dcd43f18b896aadf920eac02a2b10649;hp=2c9e9b5c9484b8820e53f5188aabb357af9258ac;hb=38a8895c3e94480eb3b2b03a56f664a204d11489;hpb=cb0bae954e7dd0067e77c436c78ee19ace52d9e3 diff --git a/Makefile b/Makefile index 2c9e9b5..9331163 100644 --- a/Makefile +++ b/Makefile @@ -10,11 +10,18 @@ $(classes): $(sources) $(JAVAC) -d build $(sources) test: $(classes) - java -cp build org.ibex.classgen.ClassGen + javac Poop.java && java -cp build:. org.ibex.classgen.JSSA Poop clean: rm -rf build/* +.PHONY: doc +doc: doc/index.html + +doc/index.html: $(sources) src/org/ibex/classgen/package.html + mkdir -p doc + javadoc -d doc $(sources) + sizecheck: @for c in $(jar_classes); do \ for f in `echo $$c|sed 's,\.class$$,,;'`*.class; do gzip -c $$f; done | wc -c | tr -d '\n'; \