Skip to content

Commit

Permalink
Fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Droid-MAX committed Feb 15, 2021
1 parent 80bf723 commit bd2bf62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CFLAGS ?= -std=gnu99 -Wall -O2
LDFLAGS ?= -pthread
WARNERROR ?= no

SRCS = flashcmd_api.c spi_controller.c spi_nand_flash.c spi_nor_flash.c ch341a_spi.c main.c

ifeq ($(WARNERROR), yes)
CFLAGS += -Werror
endif
Expand All @@ -35,8 +37,6 @@ CFLAGS += -Dffs=__builtin_ffs
CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
endif

SRCS = flashcmd_api.c spi_controller.c spi_nand_flash.c spi_nor_flash.c ch341a_spi.c main.c

$(PKG): $(TARGET)$(EXEC_SUFFIX)

$(TARGET)$(EXEC_SUFFIX): $(SRCS)
Expand Down

0 comments on commit bd2bf62

Please sign in to comment.