Mercurial > projects > dstress
diff Makefile @ 971:8da09834526d
* Valgrind support is now part of dstress.c instead of crashRun.c
* fixed parallel build of test cases with multiple object files
author | thomask |
---|---|
date | Thu, 20 Apr 2006 08:50:01 +0000 |
parents | 752d78bbb899 |
children | 7269c8972179 |
line wrap: on
line diff
--- a/Makefile Thu Apr 20 06:04:53 2006 +0000 +++ b/Makefile Thu Apr 20 08:50:01 2006 +0000 @@ -110,19 +110,10 @@ # # the tools # -$(return__) : return__.c Makefile - $(CC) $(CFLAGS) $< -o $@ - -$(ifeq__) : ifeq__.c Makefile - $(CC) $(CFLAGS) $< -o $@ - -$(extract__) : extract__.c Makefile +% : %.c Makefile $(CC) $(CFLAGS) $< -o $@ $(dstress__) : dstress.c $(crashRun__) Makefile - $(CC) $(CFLAGS) $< -o $@ - -$(crashRun__) : crashRun.c Makefile $(CC) $(CFLAGS) -DUSE_VALGRIND $< -o $@ basic_tools : $(ifeq__) $(return__) $(extract__) $(dstress__) @@ -340,7 +331,7 @@ $(RM) $(OBJ_DIR)/[k-o]*.* $(RM) $(OBJ_DIR)/[p-t]*.* $(RM) $(OBJ_DIR)/[u-z]*.* - $(RM) $(OBJ_DIR)/?*.* + $(RM) -rf $(OBJ_DIR)/* $(RM) run.sh norun.sh compile.sh nocompile.sh # the empty line above has to remain, otherwise some weired problems can arise