diff leo-obj/l1_int/Makefile @ 187:d339548ebfc4

leo-obj: started looking at dl1_com.obj
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 18:26:06 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/l1_int/Makefile	Sun Aug 17 18:26:06 2014 +0000
@@ -0,0 +1,23 @@
+OBJS=	dl1_com.obj
+TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS}) \
+	dl1_com.symtab
+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 > $@
+
+dl1_com.symtab:	dl1_com.obj
+	${TOOL} dl1_com.obj symtab > $@
+
+${TARGETS}:	${TOOL} Makefile
+
+clean:
+	rm -f *.disasm *.ctypes *.symtab