This commit is contained in:
2022-09-09 10:07:24 +08:00
parent 8f3c5cf6a4
commit a3d68f9fd9
4 changed files with 1041 additions and 845 deletions

View File

@@ -1,11 +1,11 @@
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS += -g -Wall
CFLAGS += -g -Wall -Os
LIBS = -static
OBJ := sha
all: sha.o
all: aes.o sha.o
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c $<