X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Funit_tests%2F64_and_32_bit_time%2F32_bit%2FMakefile;fp=direct%2Ftest-framework%2Funit_tests%2F64_and_32_bit_time%2F32_bit%2FMakefile;h=8bcaf721985f986d846b5e19cbee89c86142ddd5;hp=0000000000000000000000000000000000000000;hb=e12e51da5815d80399ec8f5b0da69c7cd7a0f42e;hpb=ebc54da9e29be1de79d77c72c0d8eb91833c641b diff --git a/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile b/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile new file mode 100644 index 0000000..8bcaf72 --- /dev/null +++ b/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile @@ -0,0 +1,39 @@ +# Makefile for 32 bit time test. +# +# +# YAFFS: Yet another Flash File System. A NAND-flash specific file system. +# +# Copyright (C) 2002-2018 Aleph One Ltd. +# +# +# Created by Timothy Manning +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# NB Warning this Makefile does not include header dependencies. +# + +YDI_DIR = ../../../../ +YDI_FRAMEWORK_DIR = ../../../ + +CLEAN_OBJS = time_32_tests emfile-2k-0 emfile-nand emfile-nand128MB +TESTFILES = time_32_tests.o + +CFLAGS = -DYAFFS_USE_32_BIT_TIME_T +all: time_32_tests + +YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES) + + +ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS) + +include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk + +phony. test: time_32_tests + ./time_32_tests + +time_32_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) + gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread +