adopt some integration suggestions
sys/lib -> sys/libnh sys/lib/libnethackmain.c -> sys/libnh/libnhmain.c libnethack.a -> libnh.a
This commit is contained in:
@@ -130,7 +130,7 @@ $(WASM_DATA_DIR): $(WASM_DATA_DIR)/nhdat
|
||||
touch $(WASM_DATA_DIR)/record
|
||||
touch $(WASM_DATA_DIR)/logfile
|
||||
touch $(WASM_DATA_DIR)/xlogfile
|
||||
cp ../sys/lib/sysconf $(WASM_DATA_DIR)/sysconf
|
||||
cp ../sys/libnh/sysconf $(WASM_DATA_DIR)/sysconf
|
||||
|
||||
$(WASM_DATA_DIR)/nhdat:
|
||||
( cd ..; $(MAKE) INSTDIR='$(WASM_DATA_DIR)' $(WASMDEP) dofiles-dlb )
|
||||
@@ -142,7 +142,7 @@ $(TARGETPFX)unixunix.o : ../sys/unix/unixunix.c $(HACK_H)
|
||||
$(TARGETPFX)ioctl.o : ../sys/share/ioctl.c $(HACK_H)
|
||||
$(TARGETPFX)unixtty.o : ../sys/share/unixtty.c $(HACK_H)
|
||||
$(TARGETPFX)winshim.o : ../win/shim/winshim.c $(HACK_H)
|
||||
$(TARGETPFX)libnethackmain.o : ../sys/lib/libnethackmain.c \
|
||||
$(TARGETPFX)libnhmain.o : ../sys/libnh/libnhmain.c \
|
||||
$(HACK_H) ../include/date.h
|
||||
endif # CROSS_TO_WASM
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user