Permalink
Browse files

[m0] stricter CFLAGS

  • Loading branch information...
gerdr committed Jun 6, 2012
1 parent 8ef7d07 commit 818a18e11a3d069b5ea403982b5f1afc4d1ad77c
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/m0/c/Makefile
View
@@ -1,10 +1,12 @@
+CFLAGS := -std=c99 -pedantic -Wall -Wextra
+
all: m0 m0-debug
m0 : m0.h interp.c mob.c ops.c
- $(CC) -O3 -W -Wall -g -o m0 mob.c interp.c ops.c
+ $(CC) $(CFLAGS) -O3 -g -o m0 mob.c interp.c ops.c
m0-debug : m0.h interp.c mob.c ops.c
- $(CC) -O0 -W -Wall -g -o m0-debug mob.c interp.c ops.c
+ $(CC) $(CFLAGS) -O0 -g -o m0-debug mob.c interp.c ops.c
clean:
rm -f *.o m0 m0-debug

0 comments on commit 818a18e

Please sign in to comment.