소스 검색

Add a target to compile every artifacts

DricomDragon 5 년 전
부모
커밋
ad53f0a4d4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      makefile

+ 2 - 0
makefile

@@ -6,6 +6,8 @@ linux-compiler = g++
 # Embed c and c++ libraries (see https://stackoverflow.com/a/6405064)
 win-compiler = i686-w64-mingw32-g++-win32 -static-libstdc++ -static-libgcc
 
+all: $(linux-artifact) $(win-artifact)
+
 $(linux-artifact): main.cpp
 	$(linux-compiler) main.cpp -o $(linux-artifact)