From 2f506168a138b524e4177e13d7e825503580f3ad Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 19 Apr 2020 08:51:47 -0400 Subject: can compile again --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 281e8aa..5aab083 100644 --- a/Makefile +++ b/Makefile @@ -18,14 +18,14 @@ # along with this program. If not, see . # -CFLAGS = -ggdb -fsigned-char -fno-builtin -Wall -Wextra -Werror -pedantic +CFLAGS = -ggdb -Wall -Wextra -pedantic #-Werror CFILES = $(wildcard *.c) all: @echo $(CFILES) - @gcc -m32 $(CFLAGS) $(CFILES) -o shell + @g++ $(CFLAGS) $(CFILES) -o shell arm: - @arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 $(CFLAGS) -c *.c - @arm-none-eabi-ar r libinterp.a *.o + @g++ $(CFLAGS) -c *.c + @ar r libinterp.a *.o @rm *.o -- cgit v1.2.3