summaryrefslogtreecommitdiff
path: root/Makefile.convert-dtsv0
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2008-10-03 10:49:22 -0500
committerJon Loeliger <jdl@jdl.com>2008-10-03 10:50:28 -0500
commit68f98d7b8aa41fab175daf9f1bcb2a5bc22dbc90 (patch)
tree27db5ad614b48c9b75b25e7dd82987aa63220188 /Makefile.convert-dtsv0
parente8903fe225f1e3f4a04ea963306c87ca0ac795dc (diff)
downloaddtc-68f98d7b8aa41fab175daf9f1bcb2a5bc22dbc90.tar.gz
Rearrange ftdump and convert-dtsv0 into sub-Makefiles.
Follows the model of the existing sub-Makefiles for dtc. Adjust $(BIN) definition to represent installable bin programs and use it as the list of installed programs rather than using an enumerated list in the install target. Adjust the tests/Makefile to clean up properly still. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'Makefile.convert-dtsv0')
-rw-r--r--Makefile.convert-dtsv012
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.convert-dtsv0 b/Makefile.convert-dtsv0
new file mode 100644
index 0000000..a3f74c9
--- /dev/null
+++ b/Makefile.convert-dtsv0
@@ -0,0 +1,12 @@
+#
+# This is not a complete Makefile of itself.
+# Instead, it is designed to be easily embeddable
+# into other systems of Makefiles.
+#
+
+CONVERT_SRCS = \
+ srcpos.c
+
+CONVERT_GEN_SRCS = convert-dtsv0-lexer.lex.c
+
+CONVERT_OBJS = $(CONVERT_SRCS:%.c=%.o) $(CONVERT_GEN_SRCS:%.c=%.o)