Changeset 68 for trunk/Softwares/Min.or32/Makefile
- Timestamp:
- Dec 8, 2007, 5:12:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Min.or32/Makefile
r48 r68 28 28 $(DIR_BIN)/%.x.txt : $(DIR_BIN)/%.x 29 29 @\ 30 $(ECHO) "List symbols of $*"; \31 $(NM) $(NM_OPT) $^ > $@.nm; \32 $(ECHO) "Display information of $*"; \30 $(ECHO) "List symbols of $*"; \ 31 $(NM) $(NM_OPT) $^ > $@.nm; \ 32 $(ECHO) "Display information of $*"; \ 33 33 $(OBJDUMP) $(OBJDUMP_OPT) $^ > $@; 34 34 35 35 $(DIR_BIN)/%.x : $(OBJ_SYS) $(OBJ) 36 @ \37 $(ECHO) "Linkage of $*"; \36 @ \ 37 $(ECHO) "Linkage of $*"; \ 38 38 $(LD) -o $@ $^ $(LD_OPT); 39 39 40 40 $(DIR_OBJ)/%.o : $(DIR_ASM)/%.s 41 @ \42 $(ECHO) "Compile of $*"; \43 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ; \41 @ \ 42 $(ECHO) "Compile of $*"; \ 43 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ; \ 44 44 $(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ ; 45 45 # @$(AS) $(AS_OPT) $^ -o $@ 46 46 47 47 $(DIR_OBJ)/%.o : $(DIR_SYS)/%.s 48 @ \49 $(ECHO) "Compile of $*"; \50 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ; \48 @ \ 49 $(ECHO) "Compile of $*"; \ 50 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ; \ 51 51 $(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ ; 52 52 # @$(AS) $(AS_OPT) $^ -o $@ 53 53 54 54 $(DIR_OBJ)/%.o : $(DIR_C)/%.c 55 @ \56 $(ECHO) "Compile of $*"; \57 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ; \55 @ \ 56 $(ECHO) "Compile of $*"; \ 57 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ; \ 58 58 $(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ ; 59 59 … … 71 71 clean : 72 72 @\ 73 $(ECHO) "Delete temporary files "`$(PWD)`; \74 $(RM) $(DIR_OBJ) $(DIR_BIN); \73 $(ECHO) "Delete temporary files "`$(PWD)`; \ 74 $(RM) $(DIR_OBJ) $(DIR_BIN); \ 75 75 $(MAKE) clean_rec DIR_CLEAN=.; 76 76 … … 78 78 clean_rec : 79 79 @\ 80 $(ECHO) "Delete temporary files in directory $(DIR_CLEAN)"; \81 $(RM) -f $(DIR_CLEAN)/*~; \80 $(ECHO) "Delete temporary files in directory $(DIR_CLEAN)"; \ 81 $(RM) -f $(DIR_CLEAN)/*~; \ 82 82 for files in `$(LS) $(DIR_CLEAN)`; do \ 83 83 if $(TEST) -d $(DIR_CLEAN)/$$files; \
Note: See TracChangeset
for help on using the changeset viewer.