diff leo-obj/l1_custom_int/Makefile @ 177:5fb64a7c3f92

leo-obj/l1_custom_int: added
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 10 Jul 2014 03:16:42 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/l1_custom_int/Makefile	Thu Jul 10 03:16:42 2014 +0000
@@ -0,0 +1,19 @@
+OBJS=	ind_os.obj l1_cust.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