*** empty log message ***
authorhachti <hachti>
Thu, 6 Nov 2008 07:11:54 +0000 (07:11 +0000)
committerhachti <hachti>
Thu, 6 Nov 2008 07:11:54 +0000 (07:11 +0000)
lib/hachti/Makefile

index 54910ebdd0b0c1ea21acecbbbf88b833406a2556..138c47c48303ef873a23050167c37055b7487335 100644 (file)
@@ -41,6 +41,8 @@ F4_OBJECT_FILES=$(foreach obj, $(F4_MODULES), $(OBJ_DIR)/$(obj).obj)
 #      @echo $(subst $$,\$$, $(OBJECTS))
 
 all: $(LIBS)
+       @echo $(LIBS)
+       @echo '$(OBJECTS)'
 
 $(ORG_OBJDIR)/lastrun: $(ORG_LIBDIR)/*
        @if [ ! -d $(OBJ_DIR) ]; then mkdir $(OBJ_DIR); fi
@@ -50,7 +52,7 @@ $(OBJECTS): $(OBJECT_FILES) $(F4_OBJECT_FILES)
 #      @$(MAKE) $(subst $$,\$$,$?)
 
 $(OBJECT_FILES):$(OBJ_DIR)/%.obj : $(SRC_DIR)/%.asm
-#      @echo Building: $(subst         $$,\$$,$@)
+       @echo Building: $(subst         $$,\$$,$@)
        @if [ ! -d $(OBJ_DIR) ]; then mkdir $(OBJ_DIR); fi
        @ rm -f $@
        @ cd $(OBJ_DIR) && $(ASM_COMMAND) ../$(subst $$,\$$,$^) $(LISTING)
@@ -65,7 +67,7 @@ $(F4_OBJECT_FILES):$(OBJ_DIR)/%.obj : $(SRC_DIR)/%.f
        @ cd $(OBJ_DIR) && $(LDC_COMMAND) $(notdir $(subst $$,\$$,$@))
 
 
-$(LIBS):$(LIB_DIR)/%.lib: $(RECIPE_DIR)/%$(RECIPE_SUFFIX)   $(OBJECTS)
+$(LIBS):$(LIB_DIR)/%.lib: $(RECIPE_DIR)/%$(RECIPE_SUFFIX)  $(OBJECT_FILES) $(OBJECTS)
        @./buildlib.sh genlib $(RECIPE_DIR)/$(basename $(notdir $@))$(RECIPE_SUFFIX)
 
 src/font.asm: font.config fonts/*.asm