mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
16 lines
228 B
Makefile
16 lines
228 B
Makefile
|
NAME=norcow_test
|
||
|
CC=gcc
|
||
|
CFLAGS=-Wall -Wextra -Werror -DUNIX
|
||
|
LDFLAGS=
|
||
|
LIBS=
|
||
|
OBJ=$(NAME).o norcow.o
|
||
|
|
||
|
$(NAME): $(OBJ)
|
||
|
$(CC) $(LDFLAGS) $(LIBS) $(OBJ) -o $(NAME)
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -c $< -o $@
|
||
|
|
||
|
clean:
|
||
|
rm -f $(NAME) $(OBJ)
|