初次提交
This commit is contained in:
16
aes/Makefile
Normal file
16
aes/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
CROSS_COMPILE ?=
|
||||
CC := $(CROSS_COMPILE)gcc
|
||||
STRIP := $(CROSS_COMPILE)strip
|
||||
CFLAGS += -g -O2
|
||||
LIBS =
|
||||
OBJ := aes
|
||||
|
||||
all: aes.o main.o
|
||||
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
clean:
|
||||
rm -rf *.o
|
||||
rm $(OBJ)
|
||||
|
Reference in New Issue
Block a user