# --------------------------------------
.PHONY : all
-all: make_aplfw makeexe_all $(TARGET_EXE) $(TARGET_MOT) $(TARGET_HEX)
+all: make_subprj makeexe_all $(TARGET_EXE) $(TARGET_MOT) $(TARGET_HEX)
-.PHONY : make_aplfw
-make_aplfw:
+.PHONY : make_subprj
+make_subprj:
$(MAKE) -C $(APLFW_BUILD_DIR) -f gmake.mak
-
+.PHONY : clean
clean: makeexe_clean
rm -f $(TARGET_EXE) $(TARGET_EXE) $(OBJS) ../kernel_cfg.c ../kernel_id.h
+.PHONY : depend
+depend: makeexe_depend
+
+.PHONY : mostlyclean
+mostlyclean: clean
+ $(MAKE) -C $(APLFW_BUILD_DIR) -f gmake.mak clean
+
+.PHONY : mostlydepend
+mostlydepend: depend
+ $(MAKE) -C $(APLFW_BUILD_DIR) -f gmake.mak depend
+
../kernel_cfg.c ../kernel_id.h: ../system.cfg
cpp -E ../system.cfg ../system.i
{
vector : o = 0x80000000, l = 0x00000040
rom : o = 0x80000040, l = 0x0000ffc0
- ram : o = 0x80010000, l = 0x000f0000
+ ram : o = 0x80020000, l = 0x000e0000
}
SECTIONS
pBuf = (char *)Memory_Alloc(128);
if ( pBuf != NULL )
{
- iRet = vsprintf(pBuf, pszFormat, argptr); /* 肥大化するのでちと保留 */
+ /* iRet = vsprintf(pBuf, pszFormat, argptr); */ /* 肥大化するのでちと保留 */
if ( iRet > 0 )
{
iRet = File_Write(hFile, pBuf, iRet);
int iRet;
va_start(argptr, pszFormat);
- iRet = File_PrintFormatV(Process_GetStdOut(HANDLE_NULL), pszFormat, argptr);
+ iRet = File_PrintFormatVL(Process_GetStdOut(HANDLE_NULL), pszFormat, argptr);
va_end(argptr);
return iRet;