Added intermediate assembly compilation.

This commit is contained in:
Jonathan Chan 2018-02-17 12:08:48 -08:00
parent 7815201407
commit ce5f413274
2 changed files with 1182 additions and 0 deletions

View File

@ -14,5 +14,8 @@ LFLAGS = -L $(SUPPORT_FILE_DIRECTORY) -T $(DEVICE).ld
all: ${OBJECTS} all: ${OBJECTS}
$(CC) $(CFLAGS) $(LFLAGS) $? -o main.elf $(CC) $(CFLAGS) $(LFLAGS) $? -o main.elf
main: main.c
$(CC) $(CFLAGS) $(LFLAGS) $? -S -o main.asm
debug: all debug: all
$(GDB) main.elf $(GDB) main.elf

1179
lab5/distance/main.asm Normal file

File diff suppressed because it is too large Load Diff