shithub: nanobsp

Download patch

ref: 8bf5a41323bca07174052d46aed2f74a1eb11881
parent: fbd46067bd0aa9c6b11cd1955605195f06471594
author: qwx <qwx@sciops.net>
date: Fri Feb 27 14:29:12 EST 2026

forgot the mkfile

--- /dev/null
+++ b/mkfile
@@ -1,0 +1,172 @@
+</$objtype/mkfile
+BIN=/$objtype/bin/games
+TARG=cdoom
+OFILES=\
+	am_map.$O\
+	d_event.$O\
+	d_items.$O\
+	d_iwad.$O\
+	d_loop.$O\
+	d_main.$O\
+	d_mode.$O\
+	d_net.$O\
+	doomdef.$O\
+	doomstat.$O\
+	dstrings.$O\
+	f_finale.$O\
+	f_wipe.$O\
+	g_game.$O\
+	hu_lib.$O\
+	hu_stuff.$O\
+	i_input.$O\
+	i_main.$O\
+	i_oplmusic.$O\
+	i_png.$O\
+	i_sdlsound.$O\
+	i_sound.$O\
+	i_system.$O\
+	i_timer.$O\
+	i_video.$O\
+	info.$O\
+	m_argv.$O\
+	m_bbox.$O\
+	m_cheat.$O\
+	m_config.$O\
+	m_controls.$O\
+	m_fixed.$O\
+	m_menu.$O\
+	m_misc.$O\
+	m_random.$O\
+	memio.$O\
+	midifile.$O\
+	mus2mid.$O\
+	nano_bsp.$O\
+	opl3.$O\
+	opl_queue.$O\
+	opl_sdl.$O\
+	p_ceilng.$O\
+	p_doors.$O\
+	p_enemy.$O\
+	p_floor.$O\
+	p_inter.$O\
+	p_lights.$O\
+	p_map.$O\
+	p_maputl.$O\
+	p_mobj.$O\
+	p_plats.$O\
+	p_pspr.$O\
+	p_saveg.$O\
+	p_setup.$O\
+	p_sight.$O\
+	p_spec.$O\
+	p_switch.$O\
+	p_telept.$O\
+	p_tick.$O\
+	p_user.$O\
+	r_bsp.$O\
+	r_data.$O\
+	r_draw.$O\
+	r_main.$O\
+	r_plane.$O\
+	r_segs.$O\
+	r_sky.$O\
+	r_things.$O\
+	s_sound.$O\
+	sounds.$O\
+	st_lib.$O\
+	st_stuff.$O\
+	tables.$O\
+	v_video.$O\
+	w_file.$O\
+	w_main.$O\
+	w_merge.$O\
+	w_wad.$O\
+	wi_stuff.$O\
+	z_zone.$O\
+
+HFILES=\
+	am_map.h\
+	config.h\
+	d_englsh.h\
+	d_event.h\
+	d_items.h\
+	d_iwad.h\
+	d_loop.h\
+	d_main.h\
+	d_mode.h\
+	d_player.h\
+	d_think.h\
+	d_ticcmd.h\
+	deh_main.h\
+	deh_misc.h\
+	deh_str.h\
+	doomdata.h\
+	doomdef.h\
+	doomkeys.h\
+	doomstat.h\
+	doomtype.h\
+	dstrings.h\
+	f_finale.h\
+	f_wipe.h\
+	g_game.h\
+	hu_lib.h\
+	hu_stuff.h\
+	i_input.h\
+	i_sound.h\
+	i_system.h\
+	i_timer.h\
+	i_video.h\
+	info.h\
+	m_argv.h\
+	m_bbox.h\
+	m_cheat.h\
+	m_config.h\
+	m_controls.h\
+	m_fixed.h\
+	m_menu.h\
+	m_misc.h\
+	m_random.h\
+	memio.h\
+	midifile.h\
+	mus2mid.h\
+	nano_bsp.h\
+	net_defs.h\
+	opl3.h\
+	opl_queue.h\
+	opl_sdl.h\
+	p_inter.h\
+	p_local.h\
+	p_mobj.h\
+	p_pspr.h\
+	p_saveg.h\
+	p_setup.h\
+	p_spec.h\
+	p_tick.h\
+	r_bsp.h\
+	r_data.h\
+	r_defs.h\
+	r_draw.h\
+	r_local.h\
+	r_main.h\
+	r_plane.h\
+	r_segs.h\
+	r_sky.h\
+	r_state.h\
+	r_things.h\
+	s_sound.h\
+	sounds.h\
+	st_lib.h\
+	st_stuff.h\
+	tables.h\
+	v_patch.h\
+	v_video.h\
+	w_file.h\
+	w_main.h\
+	w_merge.h\
+	w_wad.h\
+	wi_stuff.h\
+	z_zone.h\
+
+CFLAGS=$CFLAGS -p -D__plan9__ -D__${objtype}__ -I/sys/include/npe
+
+</sys/src/cmd/mkone
--