diff leo-obj/l1_dyn_dwl/Makefile @ 201:0f767203114a

leo-obj: need to look at l1_dyn_dwl objects
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 04 Jul 2015 02:30:27 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/l1_dyn_dwl/Makefile	Sat Jul 04 02:30:27 2015 +0000
@@ -0,0 +1,20 @@
+OBJS=	l1_dyn_dwl_afunc.obj l1_dyn_dwl_apihisr.obj l1_dyn_dwl_async.obj \
+	l1_dyn_dwl_func.obj l1_dyn_dwl_init.obj l1_dyn_dwl_sync.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