#****************************************************************************** # Makefile 'build' project #****************************************************************************** # # File Description: # # A sample maefile for 'build' # # # # # # # # #****************************************************************************** # (C) 2017 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 # See file COPYING for details. #****************************************************************************** # Define the path to 'build' (can be a git submodule in your project) BUILD=./ # Define the source code SOURCES=hello.cpp # Define libraries we use in that project LIBRARIES=lib1.dll lib2.lib # Define the product of the build (.exe will be removed for Unix builds) PRODUCTS=hello.exe # Define configuration options CONFIG= \ \ \ \ \ \ clearenv \ libm \ liboony \ sbrk # Define what to test TESTS=product count-characters # Define what to benchmark BENCHMARKS=product # Include the makefile rules include $(BUILD)rules.mk count-characters.test: @echo Output has `$(TEST_ENV) $(OBJPRODUCTS) | wc -c` characters, should be 35