- Timestamp:
- 07/16/2017 05:38:56 PM (8 years ago)
- Branches:
- master
- Children:
- 499da16
- Parents:
- f38d645
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rf38d645 r87361de 7 7 CROSS_AR := $(CROSS_PRE)-ar 8 8 CROSS_OBJC := $(CROSS_PRE)-objcopy 9 CROSS_NM := $(CROSS_PRE)-nm 9 10 10 11 # -mshort sets the size of an int to 16 bits; important for interop with … … 24 25 HEADERS := $(wildcard include/*.h) 25 26 26 all: bios. absmidas.abs27 all: bios.img midas.abs 27 28 28 29 PROLOG_C := croot.c … … 165 166 build/%.o: rom/%.s $(HEADERS) | build 166 167 $(CROSS_GCC) $(FLAGS_ASM) -c -o $@ $< 167 168 bios.abs: bios.img169 cp bios.img bios.abs170 168 171 169 bios.img: bios.elf … … 211 209 $(CROSS_GCC) $(FLAGS_ASM) -c -o $@ $< 212 210 213 midas.abs: midas.img 214 cp midas.img midas.abs 211 midas.abs: midas.elf midas.img 212 misc/mkhd.sh $(CROSS_NM) midas.elf >/tmp/midas.hdr 213 cat /tmp/midas.hdr midas.img >midas.abs 214 rm /tmp/midas.hdr 215 215 216 216 midas.img: midas.elf
Note:
See TracChangeset
for help on using the changeset viewer.