[8e00c4]: Makefile Maximize Restore History

Download this file

Makefile    24 lines (20 with data), 357 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CC = $(CROSS_COMPILE)gcc
AR = $(CROSS_COMPILE)ar
export CC
export AR
all:
$(MAKE) -C parsers
$(CC) -g -o stm32flash -I./ \
main.c \
utils.c \
stm32.c \
serial_common.c \
serial_platform.c \
parsers/parsers.a \
stm32/stmreset_binary.c \
-Wall
clean:
$(MAKE) -C parsers clean
rm -f stm32flash
install: all
cp stm32flash /usr/local/bin