• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionecd36fb9a7715beb5ca1c775210dc27cf6e65fc4 (tree)
Time2020-03-16 19:09:11
Authorshimitei <shimitei@gmai...>
Commitershimitei

Log Message

makefile

コンパイル後にリンクするとエラーになるため、1コマンドで行う。

Change Summary

Incremental Difference

--- /dev/null
+++ b/src/makefile.em
@@ -0,0 +1,56 @@
1+# makefile.em - Hengband makefile for Emscripten
2+
3+CC = emcc
4+LD = emcc
5+CFLAGS = -c
6+LDFLAGS = -v -s EXIT_RUNTIME=1
7+
8+TARGET_FILE = hengband.html
9+
10+CFILES = \
11+ main-wasm.c \
12+ artifact.c autopick.c avatar.c \
13+ birth.c bldg.c \
14+ chest.c chuukei.c cmd2.c cmd4.c cmd-activate.c cmd-eat.c \
15+ cmd-hissatsu.c cmd-item.c cmd-magiceat.c cmd-mane.c cmd-pet.c \
16+ cmd-quaff.c cmd-read.c cmd-smith.c cmd-spell.c cmd-usestaff.c \
17+ cmd-zaprod.c cmd-zapwand.c \
18+ dungeon.c \
19+ effects.c \
20+ feature.c files.c flavor.c floor-events.c floor-generate.c \
21+ floor-save.c floor-streams.c \
22+ gameoption.c geometry.c grid.c \
23+ history.c \
24+ inet.c init1.c init2.c \
25+ japanese.c \
26+ load.c \
27+ melee1.c mind.c monster1.c monster2.c monster-process.c \
28+ monsterrace-hook.c monster-status.c mspells1.c mspells2.c mspells3.c \
29+ mspells4.c mutation.c \
30+ object1.c object2.c object-boost.c object-broken.c object-curse.c \
31+ object-hook.c objectkind-hook.c \
32+ patron.c player-damage.c player-move.c player-status.c projection.c \
33+ quest.c \
34+ racial.c realm-arcane.c realm-chaos.c realm-craft.c realm-crusade.c \
35+ realm-daemon.c realm-death.c realm-hex.c realm-hissatsu.c \
36+ realm-life.c realm-nature.c realm-song.c realm-sorcery.c \
37+ realm-trump.c report.c rooms.c rooms-city.c rooms-fractal.c \
38+ rooms-normal.c rooms-pitnest.c rooms-special.c rooms-trap.c \
39+ rooms-vault.c rumor.c \
40+ save.c scores.c selfinfo.c shoot.c snipe.c sort.c spells1.c \
41+ spells2.c spells3.c spells-diceroll.c spells-floor.c spells-object.c \
42+ spells-status.c spells-summon.c spells-world.c store.c \
43+ tables.c term.c trap.c \
44+ util.c \
45+ variable.c view-mainwindow.c \
46+ warning.c wild.c wizard1.c wizard2.c world.c xtra2.c \
47+ z-form.c z-rand.c z-term.c z-util.c z-virt.c
48+
49+all : $(TARGET_FILE)
50+
51+$(TARGET_FILE):
52+ $(LD) $(LDFLAGS) $(CFILES) -o $(TARGET_FILE)
53+
54+.PHONY: clean
55+clean:
56+ $(RM) $(TARGET_FILE) $(OBJS)