diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2020-04-19 08:51:47 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2020-04-19 08:51:47 -0400 |
commit | 2f506168a138b524e4177e13d7e825503580f3ad (patch) | |
tree | 1bbbd7295eb4bc6c4c1eae3dbe80ebd904d0cf0c /Makefile | |
parent | a93654c1de7ba3c6fab729dff97ea4bdbb989179 (diff) |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -18,14 +18,14 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. # -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 |