Changeset 101 for trunk/Softwares/Makefile.Software
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Makefile.Software
r100 r101 20 20 21 21 DIR_COMMON = $(MORPHEO_TOPLEVEL)/Softwares/Common 22 DIR_COMMON_C = $(DIR_ GLOBAL)/src/c23 DIR_COMMON_ASM = $(DIR_ GLOBAL)/src/asm24 DIR_COMMON_SYS = $(DIR_ GLOBAL)/src/sys25 DIR_COMMON_INC = $(DIR_ GLOBAL)/include22 DIR_COMMON_C = $(DIR_COMMON)/src/c 23 DIR_COMMON_ASM = $(DIR_COMMON)/src/asm 24 DIR_COMMON_SYS = $(DIR_COMMON)/src/sys 25 DIR_COMMON_INC = $(DIR_COMMON)/include 26 26 27 OBJECTS_COMMON = $(patsubst $(DIR_COMMON_ ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_ASM)/*.s)) \28 $(patsubst $(DIR_COMMON_ SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_SYS)/*.s)) \27 OBJECTS_COMMON = $(patsubst $(DIR_COMMON_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_SYS)/*.s)) \ 28 $(patsubst $(DIR_COMMON_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_ASM)/*.s)) \ 29 29 $(patsubst $(DIR_COMMON_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_C)/*.c)) 30 30 31 31 32 32 #-----[ To the compilation ]------------------------------------------------------ 33 OPTIMIZE = -O3 - fomit-frame-pointer -fdelayed-branch -mror -mcmov -msext -mhard-mul -msoft-div -msoft-float33 OPTIMIZE = -O3 -std=c99 -fomit-frame-pointer -fdelayed-branch -mror -mcmov -msext -mhard-mul -msoft-div -msoft-float 34 34 #Option : 35 35 # -fomit-frame-pointer : n'utilise pas le pointeur de frame … … 64 64 .PRECIOUS : $(DIR_BIN)/%.x.txt $(DIR_BIN)/%.x $(DIR_OBJ)/%.o 65 65 66 vpath %.h $(DIR_INC) 67 vpath %.c $(DIR_C) 68 vpath %.s $(DIR_ASM):$(DIR_SYS) 66 vpath %.h $(DIR_INC):$(DIR_COMMON_INC) 67 vpath %.c $(DIR_C):$(DIR_COMMON_C) 68 vpath %.s $(DIR_ASM):$(DIR_SYS):$(DIR_COMMON_ASM):$(DIR_COMMON_SYS) 69 69 vpath %.o $(DIR_OBJ) 70 70 vpath %.x $(DIR_BIN) … … 82 82 $(OR32_NM) $(OR32_NM_OPT) $^ > $@.nm; \ 83 83 $(ECHO) "Display info : $*.x.txt"; \ 84 $(OR32_OBJDUMP) $(OR32_OBJDUMP_OPT) $ ^> $@.txt;84 $(OR32_OBJDUMP) $(OR32_OBJDUMP_OPT) $@ > $@.txt; 85 85 86 86 $(DIR_OBJ)/%.o : %.s
Note: See TracChangeset
for help on using the changeset viewer.