r110 - trunk/tools

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Mar 19 17:27:56 EST 2005


Author: jonas
Date: 2005-03-19 17:27:56 -0500 (Sat, 19 Mar 2005)
New Revision: 110

Modified:
   trunk/tools/Makefile
Log:
reorganized the directory structure (part4), finally done ;)

Modified: trunk/tools/Makefile
===================================================================
--- trunk/tools/Makefile	2005-03-19 22:23:59 UTC (rev 109)
+++ trunk/tools/Makefile	2005-03-19 22:27:56 UTC (rev 110)
@@ -4,15 +4,19 @@
 CC_OPT     = -O2 -march=pentium4 -ffast-math
 CC_LVL     = `Magick-config --ldflags --libs`
 
-SLV        = lvlextract
+SLV        = slvextract
 SLV_OBJS   = slvextract.o
 LVL        = lvl2magick
 LVL_OBJS   = lvl2magick.o
+OLD        = lvlextract
 
 default: $(SLV) $(LVL)
 
-all: $(SLV) $(LVL)
+all: $(SLV) $(LVL) $(OLD)
 
+$(OLD):
+	$(MAKE) -C old/
+
 $(SLV): $(SLV_OBJS)
 	$(CC) $(SLV_OBJS) -o $(SLV)
 
@@ -25,7 +29,10 @@
 clean:
 	rm -f $(SLV)
 	rm -f $(LVL)
+	rm -f $(OLD)
 	rm -f *.o *.a
+	$(MAKE) -C old/ clean
 
 distclean: clean
 	rm -f *~
+	$(MAKE) -C old/ distclean




More information about the lostpenguins-commits mailing list