-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
30 lines (23 loc) · 675 Bytes
/
Copy pathmakefile
File metadata and controls
30 lines (23 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CC := gcc
CFLAGS := -g -Wall -pedantic -Werror -Wextra
# SOURCES := $(wildcard *.c) $(wildcard */*.c)
# SOURCES := event_logger.c \
# experiment_logger.c \
# fits_in_bits.c \
# mockup_flash/flash.c \
# mockup_flash/flash_using_driver.c \
# mockup_flash/mock_flash_driver.c
SOURCES := experiment_logger.c \
fits_in_bits.c \
mockup_flash/flash_using_driver.c \
mockup_flash/mock_flash_driver.c
# SOURCES := fits_in_bits.c \
# mockup_flash/flash_using_driver.c \
# mockup_flash/mock_flash_driver.c
HEADER_DIR := ./
flash.out: $(SOURCES)
$(CC) $(CFLAGS) $(SOURCES) -o build/flash.out
list: $(SOURCES)
echo "Sources:" $(SOURCES)
# flash.out1:
# echo $(SOURCES)