Procházet zdrojové kódy

Add make target to distribute executable

That is not working when SDL is not installed.
DricomDragon před 4 roky
rodič
revize
7754ad2089
2 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 1 0
      .gitignore
  2. 4 0
      makefile

+ 1 - 0
.gitignore

@@ -38,3 +38,4 @@
 # End of https://www.toptal.com/developers/gitignore/api/c++
 
 bin/
+dist/

+ 4 - 0
makefile

@@ -24,3 +24,7 @@ distclean: clean
 
 exec: $(EXEC)
 	./bin/$(EXEC)
+
+dist: $(EXEC)
+	@mkdir -p dist
+	zip dist/RainbowDodge.zip ./bin/$(EXEC)