It is not needed there. And if we want to include the rules somewhere
else (e.g. Simulink-generated code), it is an extra dependency.
include ../Makefile.config
include $(makefile_lib_inc_dir)/../Makefile.var
+include $(makefile_lib_inc_dir)/../common.mk
include $(makefile_lib_inc_dir)/Makefile.rules
rpp_lib_c_OBJS = $(addsuffix .obj,$(basename $(filter %.c, $(rpp_lib_SOURCES))))
$(error $(msg))
endif
-include $(makefile_rules_arm_dir)/../common.mk
-
CC=$(ARM_COMPILER_DIR)/bin/armcl
AR=$(ARM_COMPILER_DIR)/bin/armar
LD=$(CC)
$(error "Makefile.config must be included before this file")
endif
-include $(makefile_rules_posix_dir)/../common.mk
-
CC=gcc
AR=ar
LD=$(CC)