aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-01-23 08:23:46 -0500
committerClyne Sullivan <tullivan99@gmail.com>2018-01-23 08:23:46 -0500
commitbf230d6a745e61d72cd364bc6f0bea282671b634 (patch)
tree5aa04d7efa663a25c0ba7fe97d464de8feb05569 /Makefile
parenta93e506b78b7379e14c23ae80a5281485897faee (diff)
interpreter integration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ad5b99f..5e13666 100644
--- a/Makefile
+++ b/Makefile
@@ -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