I have the following piece of makefile:
CXXFLAGS = -std=c++0x -Wall SRCS = test1.cpp test2.cpp OBJDIR = object OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o) all:
My preference is for
release: $(MAKE) clean $(MAKE) test1
This forces the two targets to be made consecutively without disturbing their inner parallelism (if any).