1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#opt: OPTFLAGS = -O2 #export OPTFLAGS .PHONY: all clean opt all: cd new && $(MAKE) cd old && $(MAKE) install: cd new && $(MAKE) install cd old && $(MAKE) install clean: cd new && $(MAKE) clean cd old && $(MAKE) clean opt: $(MAKE) all