Showing with 6 additions and 5 deletions.
  1. +2 −1 test/common.mak
  2. +1 −1 test/coverage/Makefile
  3. +1 −1 test/exceptions/Makefile
  4. +1 −1 test/profile/Makefile
  5. +1 −1 test/shared/Makefile
3 changes: 2 additions & 1 deletion test/common.mak
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ TIMELIMIT:=
LDL:=$(subst -L,,$(LINKDL)) # -ldl

SRC:=src
ROOT:=./generated/$(OS)/$(BUILD)/$(MODEL)
GENERATED:=./generated
ROOT:=$(GENERATED)/$(OS)/$(BUILD)/$(MODEL)

ifneq (default,$(MODEL))
MODEL_FLAG:=-m$(MODEL)
Expand Down
2 changes: 1 addition & 1 deletion test/coverage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ $(ROOT)/%: $(SRC)/%.d
$(QUIET)$(DMD) $(DFLAGS) -of$(ROOT)/$* $^

clean:
rm -rf $(ROOT) *.lst
rm -rf $(GENERATED) *.lst
2 changes: 1 addition & 1 deletion test/exceptions/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ $(ROOT)/%: $(SRC)/%.d
$(QUIET)$(DMD) $(DFLAGS) -of$@ $<

clean:
rm -rf $(ROOT)
rm -rf $(GENERATED)
2 changes: 1 addition & 1 deletion test/profile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ $(ROOT)/%: $(SRC)/%.d
$(QUIET)$(DMD) $(DFLAGS) -of$(ROOT)/$* $<

clean:
rm -rf $(ROOT) *.log *.def
rm -rf $(GENERATED) *.log *.def
2 changes: 1 addition & 1 deletion test/shared/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ $(ROOT)/%.so: $(SRC)/%.d $(DRUNTIMESO)
$(QUIET)$(DMD) -fPIC -shared $(DFLAGS) -of$@ $< $(LINKDL)

clean:
rm -rf $(ROOT)
rm -rf $(GENERATED)