diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,9 +1,11 @@ #CC = gcc -m32 #AR = ar -CC = arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char +CC = arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 AR = arm-none-eabi-ar -CFLAGS = -Wall -Wextra -I. -fno-builtin -ggdb +CFLAGS = -Wall -Wextra -Werror -pedantic \ + -Wno-discarded-qualifiers \ + -I. -fsigned-char -fno-builtin -ggdb all: $(CC) $(CFLAGS) -c shelpers.c @@ -12,7 +14,6 @@ all: $(CC) $(CFLAGS) -c stack.c $(CC) $(CFLAGS) -c ops.c $(CC) $(CFLAGS) -c variable.c - $(CC) $(CFLAGS) -c stdlib.c $(AR) r libinterp.a *.o @rm -f *.o - #$(CC) $(CFLAGS) shell.c -o shell -L. -l interp + #$(CC) $(CFLAGS) shell.c *.o -o shell #-L. -l interp |