Explorar o código

Add make target to distribute executable

That is not working when SDL is not installed.
DricomDragon %!s(int64=4) %!d(string=hai) anos
pai
achega
7754ad2089
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  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)