19 lines
578 B
Makefile
19 lines
578 B
Makefile
# Generated from supplied ExtensionSDK; build with target Linux toolchain.
|
|
SDKDIR ?= ../../ExtensionSDK
|
|
MAJORVER=0
|
|
MINORVER=5
|
|
CMPVERSION=0x00050001
|
|
# Local development ID; check no other component uses this ID.
|
|
CMPID=0x2001
|
|
DOS2UNIX=dos2unix
|
|
M4=m4
|
|
CC ?= gcc
|
|
# The SDK otherwise includes CmpFrame in its component identity wildcard.
|
|
override CSRC := CmpAtomModbus.c
|
|
# dladdr locates this module; -ldl also supports glibc older than 2.34.
|
|
LDLIBS += -ldl
|
|
include $(SDKDIR)/makefile
|
|
|
|
# Recompile the startup hook when the link helper changes.
|
|
$(OUTDIR)/CmpFrame.o: atmb_boot_link.h
|