aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--src/script.cpp3
2 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 42c030a..ce5b043 100644
--- a/Makefile
+++ b/Makefile
@@ -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;
}
/*********************