mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-16 04:29:08 +00:00
15 lines
223 B
Makefile
15 lines
223 B
Makefile
|
CC=gcc
|
||
|
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)
|