This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # set from top makefile
2- OS: =
3- MODEL: =
4- DMD: =
5- DRUNTIME: =
6- DRUNTIMESO: =
7- QUIET: =
8- LINKDL: =
9-
10- SRC: =src
11- ROOT: =./obj/$(OS ) /$(MODEL ) /$(BUILD )
12- TESTS: =$(addprefix $(ROOT ) /,$(addsuffix .done,profile profilegc both) )
1+ include ../common.mak
2+
3+ TESTS: =profile profilegc both
134
145DIFF: =diff
156GREP: =grep
167
17- ifneq (default,$(MODEL ) )
18- MODEL_FLAG:=-m$(MODEL)
19- endif
20- CFLAGS: =$(MODEL_FLAG ) -Wall
21- DFLAGS: =$(MODEL_FLAG ) -w -I../../src -I../../import -I$(SRC ) -L$(DRUNTIME ) -defaultlib= -debuglib=
22-
238.PHONY : all clean
24- all : $(TESTS )
9+ all : $(addprefix $( ROOT ) /, $( addsuffix .done, $( TESTS ) ) )
2510
2611$(ROOT ) /profile.done : DFLAGS+=-profile
2712$(ROOT ) /profile.done : $(ROOT ) /% .done: $(ROOT ) /%
@@ -56,4 +41,4 @@ $(ROOT)/%: $(SRC)/%.d
5641 $(QUIET )$(DMD ) $(DFLAGS ) -of$(ROOT ) /$* $<
5742
5843clean :
59- rm -rf obj * .log * .def
44+ rm -rf $( ROOT ) * .log * .def
You can’t perform that action at this time.
0 commit comments