diff leo-obj/l1_ext/Makefile @ 209:a5f126973f0e

leo-obj: analysis of l1_async.obj with disassembly hints
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 05 Mar 2016 01:28:06 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/l1_ext/Makefile	Sat Mar 05 01:28:06 2016 +0000
@@ -0,0 +1,19 @@
+OBJS=	l1_async.obj
+TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS})
+TOOL=	../tool/tiobjd
+
+all:	${TARGETS}
+
+%.disasm:	%.obj %.hints
+	${TOOL} $*.obj disasm -gl -h $*.hints > $@
+
+%.disasm:	%.obj
+	${TOOL} $*.obj disasm -gl > $@
+
+%.ctypes:	%.obj
+	${TOOL} $*.obj ctypes -o > $@
+
+${TARGETS}:	${TOOL} Makefile
+
+clean:
+	rm -f *.disasm *.ctypes