2022-04-27 10:04:35 +00:00
|
|
|
CC=cc
|
2019-04-25 14:38:56 +00:00
|
|
|
CFLAGS=-Wall -fPIC
|
|
|
|
LIBS=
|
|
|
|
OBJ=storage.o norcow.o flash.o
|
|
|
|
OUT=libtrezor-storage0.so
|
|
|
|
|
|
|
|
$(OUT): $(OBJ)
|
|
|
|
$(CC) $(CFLAGS) $(LIBS) $(OBJ) -shared -o $(OUT)
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OUT) $(OBJ)
|