X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/5bef5c531e98c252f89eeeeb9645bb0251896fda..91dfab84182937b62ef64cb12d8e4f89e6d5c3ec:/lincan/Makefile diff --git a/lincan/Makefile b/lincan/Makefile index 60ca0a6..87f2000 100644 --- a/lincan/Makefile +++ b/lincan/Makefile @@ -9,11 +9,12 @@ # ########## The following options can be changed ########## -SUBDIRS = src utils ifneq ($(wildcard ./Standalone.mk),) # Standalone make outside of OCERA framework +SUBDIRS = src utils + all: default .PHONY: dep default subdirs clean cleandepend @@ -27,9 +28,18 @@ else # Build in structure of OCERA framework TOPDIR = $(LINUX_DIR) +COMPONENT = CONFIG_OC_LINCAN +COMPONENT_NAME = lincan +COMPONENT_TARGETS = default ifneq ($(wildcard ../../../../ocera.mk),) include ../../../../ocera.mk + +dirs = src utils + +default dep clean install: + $(foreach dir, $(dirs), $(MAKE) -C $(dir) $@ ; ) + else all: @echo -e "\nTo build LinCAN driver for OCERA framework, ocera.mk file have"