diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-01-23 08:23:46 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-01-23 08:23:46 -0500 |
commit | bf230d6a745e61d72cd364bc6f0bea282671b634 (patch) | |
tree | 5aa04d7efa663a25c0ba7fe97d464de8feb05569 /Makefile | |
parent | a93e506b78b7379e14c23ae80a5281485897faee (diff) |
interpreter integration
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -16,9 +16,6 @@ OUTDIR = out OFILES = $(patsubst src/%.c, $(OUTDIR)/%.o, $(CFILES)) \ $(patsubst src/%.s, $(OUTDIR)/%.asm.o, $(AFILES)) -LIBDIR = -Llib -LIBS = - HEX = main.hex all: $(HEX) @@ -26,7 +23,7 @@ all: $(HEX) $(HEX): $(OFILES) @echo " LINK " $(HEX) @$(CROSS)$(OBJCOPY) -B arm -I binary -O elf32-littlearm initrd.img out/initrd.img.o - @$(CROSS)$(CC) $(CFLAGS) $(LIBDIR) $(LIBS) -T link.ld out/*.o -o out/main.elf + @$(CROSS)$(CC) $(CFLAGS) -T link.ld out/*.o -o out/main.elf @$(CROSS)$(OBJCOPY) $(OFLAGS) out/main.elf $(HEX) $(OUTDIR)/%.o: src/%.c |