# Note that gcj has problems with non-ASCII characters in filenames, even with a careful LC_ALL choice. # On debian 7.0, installing gcc-4.7-locales was not sufficient to fix the problem. JAVA=gcj JFLAGS=-I. %.o : %.java $(JAVA) -c $(JFLAGS) $< -o $@ %.class : %.java $(JAVA) -C $(JFLAGS) $< bigrun: ./equivs2-j find /usr -xdev -type f -readable -print | LC_ALL=ISO-8859-1 time ./equivs2-j run: ./equivs2-j find test-files -type f -readable -print | LC_ALL=ISO-8859-1 time ./equivs2-j EQUIVS_J_OBJS=Sortable_file.class equivs2.class equivs2-j: $(EQUIVS_J_OBJS) gcj -o equivs2-j --main=equivs2 $(EQUIVS_J_OBJS) go2: twofile ./twofile TWOFILE_OBJS=file2.class file1.class twofile: $(TWOFILE_OBJS) gcj -o twofile --main=file1 $(TWOFILE_OBJS) go: hello ./hello hello: hello.o gcj -o hello --main=hello hello.o clean: rm -f *.class *.o *.jar equivs2-j