mirror of https://github.com/jeremysrand/BuGS.git
Minor changes to the build to move some stuff to the internal make files.
This commit is contained in:
parent
9a0791d812
commit
af16a35ea7
|
@ -80,7 +80,7 @@ MD_SRCS=Read.Me.md
|
||||||
# Then, during the copy phase, mySystemFile will be copied into the System
|
# Then, during the copy phase, mySystemFile will be copied into the System
|
||||||
# folder and a folder newDir will be created and anotherFile will be copied
|
# folder and a folder newDir will be created and anotherFile will be copied
|
||||||
# into there.
|
# into there.
|
||||||
COPYDIRS=$(GENDIR)/Teach
|
COPYDIRS=
|
||||||
|
|
||||||
# By default, the build expects that you have GSplus in the path:
|
# By default, the build expects that you have GSplus in the path:
|
||||||
# /Applications/GSplus.app/Contents/MacOS/gsplus
|
# /Applications/GSplus.app/Contents/MacOS/gsplus
|
||||||
|
|
|
@ -72,6 +72,9 @@ REZ_DEPS=$(patsubst %.rez, $(OBJDIR)/%.rez.d, $(REZ_SRCS))
|
||||||
REZ_OBJS=$(patsubst %.rez, $(OBJDIR)/%.r, $(REZ_SRCS))
|
REZ_OBJS=$(patsubst %.rez, $(OBJDIR)/%.r, $(REZ_SRCS))
|
||||||
|
|
||||||
TEACH_FILES=$(patsubst %.md, $(GENDIR)/Teach/%, $(MD_SRCS))
|
TEACH_FILES=$(patsubst %.md, $(GENDIR)/Teach/%, $(MD_SRCS))
|
||||||
|
ifneq ($(TEACH_FILES),)
|
||||||
|
COPYDIRS+=$(GENDIR)/Teach
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(firstword $(REZ_SRCS)), $(lastword $(REZ_SRCS)))
|
ifneq ($(firstword $(REZ_SRCS)), $(lastword $(REZ_SRCS)))
|
||||||
$(error Only a single resource file supported, found $(REZ_SRCS))
|
$(error Only a single resource file supported, found $(REZ_SRCS))
|
||||||
|
|
Loading…
Reference in New Issue