mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-01-13 15:17:43 +00:00
18 lines
283 B
Makefile
18 lines
283 B
Makefile
PRJ = fattest
|
|
SRC = fat_test.c fat_compat.c FatFs/ff.c FatFs/ffunicode.c FatFs/diskio.c
|
|
|
|
OBJ = $(SRC:.c=.o)
|
|
DEP = $(SRC:.c=.d)
|
|
|
|
CFLAGS = -Wno-attributes -I. -g -pg
|
|
CPPFLAGS = -DFAT_TEST
|
|
|
|
# Our target.
|
|
all: $(PRJ)
|
|
|
|
$(PRJ): $(OBJ)
|
|
$(CC) -pg -o $@ $(OBJ)
|
|
|
|
clean:
|
|
rm -f $(OBJ) $(PRJ)
|