include ../rules.mk all: testfile.txt testfile.txt.2ccomp testfile.txt.2gcc testfile.ccomp.k1c.out testfile.gcc.k1c.out testfile.ccomp.host.out testfile.gcc.host.out cmp testfile.txt testfile.txt.2ccomp cmp testfile.txt testfile.txt.2gcc micro-bunzip.ccomp.host: micro-bunzip.c ../clock.gcc.host.o $(CCOMP) $(CCOMPFLAGS) $+ -o $@ micro-bunzip.ccomp.k1c: micro-bunzip.c ../clock.gcc.k1c.o $(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@ micro-bunzip.gcc.host: micro-bunzip.c ../clock.gcc.host.o $(CC) $(CFLAGS) $+ -o $@ # micro-bunzip.gcc.k1c: micro-bunzip.c ../clock.gcc.k1c.o # $(K1C_CC) $(K1C_CFLAGS) $+ -o $@ # TODO: -O3 buggy?? micro-bunzip.gcc.k1c: micro-bunzip.c ../clock.gcc.k1c.o $(K1C_CC) -Wall -O2 $+ -o $@ testfile.txt: micro-bunzip.c cat micro-bunzip.c > $@ sha1sum micro-bunzip.c >> $@ cat micro-bunzip.c >> $@ md5sum micro-bunzip.c >> $@ # cat micro-bunzip.c >> $@ # sha224sum micro-bunzip.c >> $@ # cat micro-bunzip.c >> $@ # sha256sum micro-bunzip.c >> $@ # cat micro-bunzip.c >> $@ # sha384sum micro-bunzip.c >> $@ # cat micro-bunzip.c >> $@ # sha512sum micro-bunzip.c >> $@ #x cat micro-bunzip.c >> $@ testfile.txt.2ccomp testfile.ccomp.k1c.out: testfile.txt micro-bunzip.ccomp.k1c bzip2 testfile.txt.2ccomp 2> testfile.ccomp.k1c.out testfile.txt.2gcc testfile.gcc.k1c.out: testfile.txt micro-bunzip.gcc.k1c bzip2 testfile.txt.2gcc 2> testfile.gcc.k1c.out testfile.txt.2host testfile.gcc.host.out: testfile.txt micro-bunzip.gcc.host bzip2 testfile.txt.2host 2> testfile.gcc.host.out testfile.ccomp.host.out: testfile.txt micro-bunzip.ccomp.host bzip2 /dev/null 2> testfile.ccomp.host.out clean: rm -f *.k1c *.out test*txt* .PHONY: clean