diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | src/script.cpp | 3 |
2 files changed, 7 insertions, 5 deletions
@@ -54,22 +54,25 @@ all: resources $(EXEC) resources: directories -directories: +directories: @mkdir -p $(EXECDIR) @mkdir -p $(OUTDIR) clean: + @echo " CLEAN" @$(RM) -rf $(OUTDIR) cleaner: clean @$(RM) -rf $(EXECDIR) $(EXEC): $(CXXOBJ) - $(CXX) -o $(EXECDIR)/$(EXEC) $^ $(LIBS) + @echo " CXX " $(EXEC) + @$(CXX) -o $(EXECDIR)/$(EXEC) $^ $(LIBS) $(OUTDIR)/%.$(OBJEXT): $(SRCDIR)/%.$(SRCEXT) + @echo " CXX " $< @mkdir -p $(dir $@) - $(CXX) $(CXXFLAGS) $(CXXINCS) -c -o $@ $< + @$(CXX) $(CXXFLAGS) $(CXXINCS) -c -o $@ $< @$(CXX) $(CXXFLAGS) $(INCDEP) -MM $(SRCDIR)/$*.$(SRCEXT) > $(OUTDIR)/$*.$(DEPEXT) @cp -f $(OUTDIR)/$*.$(DEPEXT) $(OUTDIR)/$*.$(DEPEXT).tmp @sed -e 's|.*:|$(OUTDIR)/$*.$(OBJEXT):|' < $(OUTDIR)/$*.$(DEPEXT).tmp > $(OUTDIR)/$*.$(DEPEXT) diff --git a/src/script.cpp b/src/script.cpp index ec82513..89ae9e0 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -43,9 +43,8 @@ void ScriptSystem::update([[maybe_unused]] entityx::EntityManager& entites, } -void ScriptSystem::receive(const EntitySpawnEvent &toSpawn) +void ScriptSystem::receive([[maybe_unused]] const EntitySpawnEvent &toSpawn) { - (void)toSpawn; } /********************* |