mirror of
https://github.com/sheumann/65816-crypto.git
synced 2024-11-22 07:31:58 +00:00
29 lines
960 B
Makefile
29 lines
960 B
Makefile
|
CFLAGS = -O255 -w255
|
||
|
|
||
|
PROGRAMS = aescbctest aesctrtest aestest aescrypt sha1sum sha1test
|
||
|
|
||
|
.PHONY: default
|
||
|
default: $(PROGRAMS)
|
||
|
|
||
|
aescbctest: aesalign.asm aescbctest.c aesmodes.c aes.asm aes.macros aes.h
|
||
|
occ $(CFLAGS) aesalign.asm aescbctest.c aesmodes.c aes.asm -o aescbctest
|
||
|
|
||
|
aesctrtest: aesalign.asm aesctrtest.c aesmodes.c aes.asm aes.macros aes.h
|
||
|
occ $(CFLAGS) aesalign.asm aesctrtest.c aesmodes.c aes.asm -o aesctrtest
|
||
|
|
||
|
aestest: aesalign.asm aestest.c aes.asm aes.macros aes.h
|
||
|
occ $(CFLAGS) aesalign.asm aestest.c aes.asm -o aestest
|
||
|
|
||
|
aescrypt: aesalign.asm aescrypt.c aesmodes.c aes.asm aes.macros aes.h
|
||
|
occ $(CFLAGS) aesalign.asm aescrypt.c aesmodes.c aes.asm -o aescrypt
|
||
|
|
||
|
sha1sum: sha1sum.c sha1.cc sha1.asm sha1.macros sha1.h
|
||
|
occ $(CFLAGS) sha1sum.c sha1.cc -o sha1sum
|
||
|
|
||
|
sha1test: sha1test.c sha1.cc sha1.asm sha1.macros sha1.h
|
||
|
occ $(CFLAGS) sha1test.c sha1.cc -o sha1test
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
rm -f *.a *.A *.b *.B *.root *.ROOT *.o $(PROGRAMS)
|