Browse files

Merge pull request #785 from gerdr/m0-fix-build

fix m0 build
  • Loading branch information...
2 parents 794fe70 + 690bb74 commit 11274a1ed3d948992951dcfc7741990a2f50aeb7 Jimmy Zhuo committed Jun 7, 2012
Showing with 4 additions and 29 deletions.
  1. +4 −29 config/gen/makefiles/root.in
View
33 config/gen/makefiles/root.in
@@ -2281,36 +2281,11 @@ manifest_tests :
examples_tests : test_prep
$(PERL) t/harness $(EXAMPLES_TEST_FILES)
+m0 :
+ $(MAKE) -C src/m0/c m0
-src/m0/c/include/m0_constants.h:
-
-src/m0/c/include/m0_compiler_defines.h:
-
-src/m0/c/include/m0_mob_structures.h:
-
-src/m0/c/include/m0.h: src/m0/c/include/m0_constants.h src/m0/c/include/m0_compiler_defines.h \
- src/m0/c/include/m0_interp.h src/m0/c/include/m0_mob.h
-
-src/m0/c/include/m0_interp.h: src/m0/c/include/m0_interp_structures.h
-
-src/m0/c/include/m0_interp_structures.h: src/m0/c/include/m0_mob_structures.h
-
-src/m0/c/include/m0_mob.h: src/m0/c/include/m0_interp_structures.h src/m0/c/include/m0_mob_structures.h
-
-src/m0/c/include/m0_ops.h: src/m0/c/include/m0_interp_structures.h
-
-src/m0/c/m0_interp.c: src/m0/c/include/m0.h src/m0/c/include/m0_mob.h src/m0/c/include/m0_constants.h \
- src/m0/c/include/m0_compiler_defines.h
-
-src/m0/c/m0_mob.c: src/m0/c/include/m0_mob.h src/m0/c/include/m0_constants.h src/m0/c/include/m0_compiler_defines.h
-
-src/m0/c/m0_ops.c: src/m0/c/include/m0_ops.h src/m0/c/include/m0_mob_structures.h
-
-m0 : src/m0/c/include/m0.h src/m0/c/m0_interp.c src/m0/c/m0_mob.c src/m0/c/m0_ops.c
- $(CC) -O3 -W -Wall -g -Iinclude -o src/m0/c/m0 src/m0/c/m0_mob.c src/m0/c/m0_interp.c src/m0/c/m0_ops.c
-
-m0_debug : src/m0/c/include/m0.h src/m0/c/m0_interp.c src/m0/c/m0_mob.c src/m0/c/m0_ops.c
- $(CC) -O0 -W -Wall -g -Iinclude -o src/m0/c/m0-debug src/m0/c/m0_mob.c src/m0/c/m0_interp.c src/m0/c/m0_ops.c
+m0_debug :
+ $(MAKE) -C src/m0/c m0-debug
m0_tests :
$(PERL) t/harness $(M0_TEST_FILES)

0 comments on commit 11274a1

Please sign in to comment.