aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2020-04-19 08:51:47 -0400
committerClyne Sullivan <clyne@bitgloo.com>2020-04-19 08:51:47 -0400
commit2f506168a138b524e4177e13d7e825503580f3ad (patch)
tree1bbbd7295eb4bc6c4c1eae3dbe80ebd904d0cf0c /Makefile
parenta93654c1de7ba3c6fab729dff97ea4bdbb989179 (diff)
can compile againHEADmaster
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