summaryrefslogtreecommitdiff
path: root/ucoo/base/fs/romfs/test/Makefile
blob: c4ec6bc295d98c06a013050bba07068221a37958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
BASE = ../../../../..

TARGETS = host stm32f4
PROGS = test_romfs
test_romfs_SOURCES = test_romfs.cc

MODULES = ucoo/base/test ucoo/base/fs/romfs ucoo/hal/usb

COMPILE_DEPS = $(OBJDIR)/test_fs.h
EXTRA_CLEAN = $(OBJDIR)/test_fs.h

include $(BASE)/build/top.mk

$(OBJDIR)/test_fs.h: ../mkromfs.py hello.txt
	$< -o $@ -i test_fs $(wordlist 2,$(words $^),$^)