1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/Libraries/rscode/library.mk
Oleg Semyonov 992bd696a6 *.mk: fix double '/' in path names ($dir always returns it as a last char)
Also minor formatting of all library.mk files.

Conflicts:
	flight/PiOS/Common/Libraries/CMSIS2/library.mk
2013-03-24 13:06:08 +02:00

10 lines
223 B
Makefile

#
# Rules to add RSCODE to a PiOS target
#
RSCODE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
RSCODE_SRC := berlekamp.c crcgen.c galois.c rs.c
SRC += $(addprefix $(RSCODE_DIR),$(RSCODE_SRC))
EXTRAINCDIRS += $(RSCODE_DIR)