[AD] Small parallel make patch.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Its small, but it lets me run make with -j6 with no errors. And leads to a 
mostly full (all program and lib versions) build of allegro in 47 seconds.

Let me know if its ok. and if I should apply.

Thanks.

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
Index: makefile.in
===================================================================
--- makefile.in	(revision 8160)
+++ makefile.in	(working copy)
@@ -210,6 +210,8 @@
 obj_unix_asmdef_inc = $(OBJDIR)/asmdef.inc
 xalleg_h = $(srcdir)/include/xalleg.h
 
+$(ALLEGRO_SRC_I386_FILES): $(obj_unix_asmdef_inc)
+
 ifdef CROSSCOMPILE
 
 $(OBJDIR)/asmdef.s: src/i386/asmdef.c include/*.h include/allegro/*.h
@@ -342,6 +344,8 @@
 
 -include makefile.dep
 
+$(ALLEGRO_EXE_TARGETS): $(ALLEGRO_LIB_TARGETS)
+
 ifdef CROSSCOMPILE
 
 full-build: lib modules programs


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/