[AD] makefile.tst update

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


The following patch takes recursion out of makefile.tst (ie: it won't need to
call MAKE again).


--- makefile.tst	Sun Nov 25 15:08:36 2001
+++ makefile.tst	Mon May 27 23:16:10 2002
@@ -3,7 +3,7 @@
 ASMCAPA_DIR_U = $(subst \,/,$(PLATFORM_DIR))
 ASMCAPA_DIR_D = $(subst /,\,$(PLATFORM_DIR))
 
-.PHONY: mmxtest ssetest cleantest
+.PHONY: mmxtest ssetest cleantest testmsg
 
 cleantest:
 # we can't use C-style comments here because they may be expanded by echo and
@@ -30,8 +30,8 @@
 	echo #define ALLEGRO_SSE >> $(ASMCAPA_DIR_D)\asmcapa.h
 endif
 
-$(ASMCAPA_DIR_U)/asmcapa.h:
-	@echo Testing assembler capabilities...
-	-$(MAKE) cleantest
-	-$(MAKE) mmxtest
-	-$(MAKE) ssetest
+
+$(ASMCAPA_DIR_U)/asmcapa.h: testmsg cleantest mmxtest ssetest
+
+testmsg:
+	@echo Testing assembler capatibilites...


--
Roberto Alfonso (rpgrca@xxxxxxxxxx <> rpgrca@xxxxxxxxxx)
Rhynox, the Noble Rockfriend, Wild Battlerager of the Neidar Clan and
Proficient Blacksmith, rising hero, male dwarf (Genesis is the key)
ICQ: 44361979



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