- Timestamp:
- Aug 2, 2013, 2:54:34 PM (11 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r249 r251 5 5 DU = mipsel-unknown-elf-objdump 6 6 7 MAP_XML = mappings/4c_1p_iob.xml7 MAP_XML = mappings/1c_4p_gameoflife.xml 8 8 9 9 SYS_OBJS = build/sys/vm_handler.o \ … … 38 38 build/libs/utils.o 39 39 40 GAMEOFLIFE_OBJS = build/gameoflife/main.o \ 41 build/libs/stdio.o \ 42 build/libs/barrier.o 43 40 44 DHRYSTONE_OBJS = build/dhrystone/dhry_1.o \ 41 45 build/dhrystone/dhry_2.o \ … … 47 51 48 52 49 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g53 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 50 54 51 55 INCLUDE = -Iboot -Isys -Ixml -Ilibs -I. … … 60 64 build/pgcd/pgcd.elf \ 61 65 build/hello/hello.elf \ 66 build/gameoflife/gameoflife.elf \ 62 67 build/dhrystone/dhrystone.elf \ 63 68 … … 125 130 $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $< 126 131 132 133 ### gameoflife compilation 134 build/gameoflife/gameoflife.elf: $(GAMEOFLIFE_OBJS) gameoflife/gameoflife.ld 135 $(LD) -o $@ -T gameoflife/gameoflife.ld $(GAMEOFLIFE_OBJS) 136 $(DU) -D $@ > $@.txt 137 138 build/gameoflife/main.o: gameoflife/main.c 139 $(CC) $(INCLUDE) $(CFLAGS) -O3 -c -o $@ $< 140 127 141 ### dhrystone compilation 128 142 build/dhrystone/dhrystone.elf: $(DHRYSTONE_OBJS) dhrystone/dhrystone.ld … … 149 163 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 150 164 165 build/libs/barrier.o: libs/barrier.c 166 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 167 151 168 build/libs/string.o: libs/string.c libs/string.h 152 169 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< … … 167 184 rm -rf build/display/* 168 185 rm -rf build/router/* 186 rm -rf build/gameoflife/* 169 187 rm -rf build/dhrystone/*
Note: See TracChangeset
for help on using the changeset viewer.