mirror of
https://github.com/eddyem/ARMsingleboard.git
synced 2026-03-22 01:10:55 +03:00
some changes in MLX90640, add scripts
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# run `make DEF=...` to add extra defines
|
||||
PROGRAM := mlx
|
||||
LDFLAGS := -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--discard-all
|
||||
LDFLAGS += -lwiringPi -lusefull_macros -L/usr/local/lib -lm -lcrypt
|
||||
LDFLAGS := -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--discard-all
|
||||
LDFLAGS += -lwiringPi -lusefull_macros -L/usr/local/lib -lm -lcrypt -flto
|
||||
SRCS := $(wildcard *.c)
|
||||
DEFINES := $(DEF) -D_GNU_SOURCE -D_XOPEN_SOURCE=1111
|
||||
OBJDIR := mk
|
||||
CFLAGS += -O2 -Wall -Wextra -Wno-trampolines -std=gnu99
|
||||
CFLAGS += -O2 -Wall -Wextra -Wno-trampolines -std=gnu99 -flto
|
||||
OBJS := $(addprefix $(OBJDIR)/, $(SRCS:%.c=%.o))
|
||||
DEPS := $(OBJS:.o=.d)
|
||||
TARGFILE := $(OBJDIR)/TARGET
|
||||
|
||||
Reference in New Issue
Block a user