summaryrefslogtreecommitdiff
path: root/ucoo/base/fs/romfs/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/base/fs/romfs/test/Makefile')
-rw-r--r--ucoo/base/fs/romfs/test/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/ucoo/base/fs/romfs/test/Makefile b/ucoo/base/fs/romfs/test/Makefile
new file mode 100644
index 0000000..c4ec6bc
--- /dev/null
+++ b/ucoo/base/fs/romfs/test/Makefile
@@ -0,0 +1,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 $^),$^)