-
Notifications
You must be signed in to change notification settings - Fork 0
/
EMakefile
14 lines (9 loc) · 1.23 KB
/
EMakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pathInc = -I./Source/
Libs = -s USE_SDL=2 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_TRAP_MODE='clamp'
DLibs = -s USE_SDL=2
CC = em++ -Wall -std=c++0x -O3 -ferror-limit=100 $(pathInc) $(Libs) --no-heap-copy --preload-file Run@/ -o RunE/OpenFodder.html
all : fodder
fodder: main
main:
$(CC) Source/About.cpp Source/Structures/Barracks.cpp Source/Campaign.cpp Source/CopyProtection.cpp Source/Debugger.cpp Source/Amiga/dernc.cpp Source/Event.cpp Source/Fodder.cpp Source/FontData.cpp Source/GameData.cpp Source/Graphics.cpp Source/Amiga/Graphics_Amiga.cpp Source/Amiga/Graphics_Amiga2.cpp Source/PC/Graphics_PC.cpp Source/GUI_Element.cpp Source/Amiga/IntroData_Amiga.cpp Source/PC/IntroData_PC.cpp Source/Map.cpp Source/Utils/md5.cpp Source/Parameters.cpp Source/Amiga/paula.cpp Source/Recruits.cpp Source/Amiga/Resource_Amiga_File.cpp Source/PC/Resource_PC_CD.cpp Source/ResourceMan.cpp Source/Resources.cpp Source/Amiga/rjp1.cpp Source/Utils/SimplexNoise.cpp Source/Sound.cpp Source/Amiga/Sound_Amiga.cpp Source/PC/Sound_PC.cpp Source/PC/Sound_PC2.cpp Source/Sprites.cpp Source/SpriteSheet.cpp Source/Start_Emscripten.cpp Source/stdafx.cpp Source/Surface.cpp Source/Tiles.cpp Source/UnitTesting.cpp Source/Versions.cpp Source/Window.cpp
# mv *.o obj