diff options
author | Andy Belle-Isle <abelleisle@protonmail.com> | 2022-11-13 14:17:29 -0600 |
---|---|---|
committer | Andy Belle-Isle <abelleisle@protonmail.com> | 2022-11-13 14:17:29 -0600 |
commit | 8254af1179db18e2a71c34ab9b7090cda16f0f07 (patch) | |
tree | 50a2e5fe2cccbac0c5141a4dc4c713e3dc533573 /Makefile | |
parent | 38e2036d031bdeaea76ef4b6c3c2af5247ed93ec (diff) |
Added crouch keyworld
* This allows players to move 2D to test collision
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,7 +30,7 @@ EXEC = main EXECDIR = . SRCDIR = src -OUTDIR = out +OUTDIR = build SRCEXT = cpp OBJEXT = o DEPEXT = d @@ -61,7 +61,7 @@ all: resources $(EXEC) resources: directories -directories: +directories: @mkdir -p $(EXECDIR) @mkdir -p $(OUTDIR) @@ -82,7 +82,7 @@ $(OUTDIR)/%.$(OBJEXT): $(SRCDIR)/%.$(SRCEXT) @echo " CXX " $< @mkdir -p $(dir $@) @$(CXX) $(CXXFLAGS) $(CXXINCS) -c -o $@ $< - @$(CXX) $(CXXFLAGS) $(INCDEP) -MM $(SRCDIR)/$*.$(SRCEXT) > $(OUTDIR)/$*.$(DEPEXT) + @$(CXX) $(CXXFLAGS) $(CXXINCS) $(INCDEP) -MM $(SRCDIR)/$*.$(SRCEXT) > $(OUTDIR)/$*.$(DEPEXT) @cp -f $(OUTDIR)/$*.$(DEPEXT) $(OUTDIR)/$*.$(DEPEXT).tmp @sed -e 's|.*:|$(OUTDIR)/$*.$(OBJEXT):|' < $(OUTDIR)/$*.$(DEPEXT).tmp > $(OUTDIR)/$*.$(DEPEXT) @sed -e 's/.*://' -e 's/\\$$//' < $(OUTDIR)/$*.$(DEPEXT).tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $(OUTDIR)/$*.$(DEPEXT) |