소스 검색

Add make target to distribute executable

That is not working when SDL is not installed.
DricomDragon 4 년 전
부모
커밋
7754ad2089
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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)