diff options
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 |