aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
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 <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