From: Mark Wooding Date: Thu, 17 May 2018 09:43:16 +0000 (+0100) Subject: Makefile: Move cleanup of the class files near the compiler rules. X-Git-Url: https://git.distorted.org.uk/~mdw/tripe-android/commitdiff_plain/ba445867a9ffcfd3f0c21e2f4f7a2c0a8d822476 Makefile: Move cleanup of the class files near the compiler rules. --- diff --git a/Makefile b/Makefile index 7b74740..c6391a1 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ CLEANFILES += *.o *.d %.stamp: %.scala $(call v_tag,SCALAC)$(SCALAC) -d . $(SCALAFLAGS) $< && echo built >$@ CLEANFILES += *.stamp +clean::; rm -rf uk/ objects = $(patsubst %.c,%$2,$1) @@ -42,8 +43,6 @@ libtoy.so_SOURCES = jni.c libtoy.so: $(call objects,$(libtoy.so_SOURCES),.o) $(call v_tag,LD)$(LD) $(LDFLAGS.so) -o$@ $^ -clean::; rm -rf uk/ - TARGETS += jni.stamp TARGETS += sock.stamp