]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - build/Makefile.rules
Add drv/endian.h
[pes-rpp/rpp-lib.git] / build / Makefile.rules
1 # Copyright (C) 2013-2015 Czech Technical University in Prague
2 #
3 # Authors:
4 #     - Michal Sojka <sojkam1@fel.cvut.cz>
5 #
6 # This document contains proprietary information belonging to Czech
7 # Technical University in Prague. Passing on and copying of this
8 # document, and communication of its contents is not permitted
9 # without prior written authorization.
10 #
11 # File : Makefile.rules.arm
12 #
13 # This file is meant to be included by other Makefiles to gain
14 # "platform independent" compilation for RPP.
15
16 ifeq ($(TARGET),)
17 $(error "Makefile.config must be included before this file")
18 endif
19
20 makefile_rules_dir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
21
22 ifeq ($(TARGET),posix)
23 include $(makefile_rules_dir)/Makefile.rules.posix
24 else
25 include $(makefile_rules_dir)/Makefile.rules.arm
26 endif