Minor changes to the build to move some stuff to the internal make files.

This commit is contained in:
Jeremy Rand 2021-06-30 01:09:46 -04:00
parent 9a0791d812
commit af16a35ea7
2 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,7 @@ MD_SRCS=Read.Me.md
# 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
# into there.
COPYDIRS=$(GENDIR)/Teach
COPYDIRS=
# By default, the build expects that you have GSplus in the path:
# /Applications/GSplus.app/Contents/MacOS/gsplus

View File

@ -72,6 +72,9 @@ REZ_DEPS=$(patsubst %.rez, $(OBJDIR)/%.rez.d, $(REZ_SRCS))
REZ_OBJS=$(patsubst %.rez, $(OBJDIR)/%.r, $(REZ_SRCS))
TEACH_FILES=$(patsubst %.md, $(GENDIR)/Teach/%, $(MD_SRCS))
ifneq ($(TEACH_FILES),)
COPYDIRS+=$(GENDIR)/Teach
endif
ifneq ($(firstword $(REZ_SRCS)), $(lastword $(REZ_SRCS)))
$(error Only a single resource file supported, found $(REZ_SRCS))