1 ###############################################################################
3 # @author PhoenixPilot, http://github.com/PhoenixPilot, Copyright (C) 2012
4 # Copyright (c) 2013, The OpenPilot Team, http://www.openpilot.org
9 # @brief Makefile for unit test
10 ###############################################################################
12 # This program is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 3 of the License, or
15 # (at your option) any later version.
17 # This program is distributed in the hope that it will be useful, but
18 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 # You should have received a copy of the GNU General Public License along
23 # with this program; if not, write to the Free Software Foundation, Inc.,
24 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 ifndef FLIGHT_MAKEFILE
28 $(error Top level Makefile must be used to build this target
)
31 include $(FLIGHT_ROOT_DIR
)/make
/firmware-defs.mk
33 EXTRAINCDIRS
+= $(TOPDIR
)
34 EXTRAINCDIRS
+= $(PIOS
)/inc
36 SRC
+= $(PIOS
)/common
/pios_flashfs_logfs.c
38 CFLAGS
+= "-DFLASH_IMAGE_FILE=\"$(OUTDIR)/theflash.bin\""
40 include $(FLIGHT_ROOT_DIR
)/make
/unittest.mk