Micro Python: Flesh out make clean target; mp_int_t and mp_uint_t should be pointer size

This commit is contained in:
Gregory Nutt 2015-01-12 07:38:30 -06:00
parent 77f0020844
commit 333fb04cef
2 changed files with 5 additions and 2 deletions

View File

@ -153,6 +153,9 @@ endif
depend: .depend
clean:
$(call DELDIR, build)
$(call DELFILE, .built)
$(call CLEAN)
distclean: clean
$(call DELFILE, Make.dep)

View File

@ -100,8 +100,8 @@
****************************************************************************/
typedef int wint_t; /* For newlib's math.h. See wchar_t */
typedef int32_t mp_int_t; /* must be pointer size */
typedef uint32_t mp_uint_t; /* must be pointer size */
typedef intptr_t mp_int_t; /* must be pointer size */
typedef uintptr_t mp_uint_t; /* must be pointer size */
typedef void *machine_ptr_t; /* must be of pointer size */
typedef const void *machine_const_ptr_t; /* must be of pointer size */
typedef long mp_off_t;