Skip to content

Commit

Permalink
Minor changes to the build to move some stuff to the internal make fi…
Browse files Browse the repository at this point in the history
…les.
  • Loading branch information
jeremysrand committed Jun 30, 2021
1 parent 9a0791d commit af16a35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BuGS/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions BuGS/make/tail.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit af16a35

Please sign in to comment.