Skip to content

Commit 96f979d

Browse files
committed
Rename makefiles BUILD.mk
This way they appear at the top of directory listings.
1 parent 0bffd09 commit 96f979d

File tree

145 files changed

+224
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+224
-224
lines changed

Makefile

Lines changed: 146 additions & 146 deletions
Original file line numberDiff line numberDiff line change
@@ -166,153 +166,153 @@ include build/definitions.mk # ├──META
166166
include build/config.mk # │ You can build
167167
include build/rules.mk # │ You can topologically order
168168
include build/online.mk #─┘
169-
include libc/nexgen32e/nexgen32e.mk #─┐
170-
include libc/sysv/sysv.mk # ├──SYSTEM SUPPORT
171-
include libc/nt/nt.mk # │ You can do math
172-
include libc/intrin/intrin.mk # │ You can use the stack
173-
include third_party/compiler_rt/compiler_rt.mk # │ You can manipulate arrays
174-
include libc/tinymath/tinymath.mk # │ You can issue raw system calls
175-
include libc/str/str.mk #
176-
include third_party/xed/xed.mk #
177-
include third_party/puff/puff.mk #
178-
include libc/elf/elf.mk #
179-
include ape/ape.mk #
180-
include libc/fmt/fmt.mk #
181-
include libc/vga/vga.mk #
182-
include libc/irq/irq.mk #─┘
183-
include libc/calls/calls.mk #─┐
184-
include libc/irq/irq.mk # ├──SYSTEMS RUNTIME
185-
include third_party/nsync/nsync.mk # │ You can issue system calls
186-
include libc/runtime/runtime.mk #
187-
include third_party/double-conversion/dc.mk #
188-
include libc/crt/crt.mk #
189-
include third_party/dlmalloc/dlmalloc.mk #─┘
190-
include libc/mem/mem.mk #─┐
191-
include third_party/gdtoa/gdtoa.mk # ├──DYNAMIC RUNTIME
192-
include third_party/nsync/mem/mem.mk # │ You can now use stdio
193-
include libc/proc/proc.mk # │ You can now use threads
194-
include libc/dlopen/dlopen.mk # │ You can now use processes
195-
include libc/thread/thread.mk # │ You can finally call malloc()
196-
include tool/hello/hello.mk #
197-
include third_party/zlib/zlib.mk #
198-
include libc/stdio/stdio.mk #
199-
include libc/time/time.mk #
200-
include net/net.mk #
201-
include third_party/vqsort/vqsort.mk #
202-
include libc/log/log.mk #
203-
include third_party/getopt/getopt.mk #
204-
include third_party/bzip2/bzip2.mk #
205-
include dsp/core/core.mk #
206-
include third_party/musl/musl.mk #
207-
include libc/x/x.mk #
208-
include third_party/stb/stb.mk #
209-
include dsp/scale/scale.mk #
210-
include dsp/mpeg/mpeg.mk #
211-
include dsp/dsp.mk #
212-
include third_party/zlib/gz/gz.mk #
213-
include third_party/intel/intel.mk #
214-
include third_party/aarch64/aarch64.mk #
215-
include libc/libc.mk #─┘
216-
include libc/sock/sock.mk #─┐
217-
include dsp/tty/tty.mk # ├──ONLINE RUNTIME
218-
include libc/dns/dns.mk # │ You can communicate with the network
219-
include net/http/http.mk #
220-
include third_party/mbedtls/mbedtls.mk #
221-
include third_party/libcxx/libcxx.mk #
222-
include third_party/ggml/ggml.mk #
223-
include third_party/radpajama/radpajama.mk #
224-
include net/https/https.mk #
225-
include third_party/regex/regex.mk #─┘
226-
include third_party/tidy/tidy.mk
227-
include third_party/third_party.mk
228-
include third_party/nsync/testing/testing.mk
229-
include libc/testlib/testlib.mk
230-
include tool/viz/lib/vizlib.mk
231-
include tool/args/args.mk
232-
include test/posix/test.mk
233-
include test/tool/args/test.mk
234-
include third_party/linenoise/linenoise.mk
235-
include third_party/maxmind/maxmind.mk
236-
include net/finger/finger.mk
237-
include third_party/double-conversion/test/test.mk
238-
include third_party/lua/lua.mk
239-
include third_party/tree/tree.mk
240-
include third_party/zstd/zstd.mk
241-
include third_party/tr/tr.mk
242-
include third_party/sed/sed.mk
243-
include third_party/awk/awk.mk
244-
include third_party/hiredis/hiredis.mk
245-
include third_party/make/make.mk
246-
include third_party/ctags/ctags.mk
247-
include third_party/finger/finger.mk
248-
include third_party/argon2/argon2.mk
249-
include third_party/smallz4/smallz4.mk
250-
include third_party/sqlite3/sqlite3.mk
251-
include third_party/mbedtls/test/test.mk
252-
include third_party/quickjs/quickjs.mk
253-
include third_party/lz4cli/lz4cli.mk
254-
include third_party/zip/zip.mk
255-
include third_party/xxhash/xxhash.mk
256-
include third_party/unzip/unzip.mk
257-
include tool/build/lib/buildlib.mk
258-
include third_party/chibicc/chibicc.mk
259-
include third_party/chibicc/test/test.mk
260-
include third_party/python/python.mk
261-
include tool/build/build.mk
262-
include tool/curl/curl.mk
263-
include third_party/qemu/qemu.mk
264-
include examples/examples.mk
265-
include examples/pyapp/pyapp.mk
266-
include examples/pylife/pylife.mk
267-
include tool/decode/lib/decodelib.mk
268-
include tool/decode/decode.mk
269-
include tool/lambda/lib/lib.mk
270-
include tool/lambda/lambda.mk
271-
include tool/plinko/lib/lib.mk
272-
include tool/plinko/plinko.mk
273-
include test/tool/plinko/test.mk
274-
include tool/net/net.mk
275-
include tool/viz/viz.mk
276-
include tool/tool.mk
277-
include net/turfwar/turfwar.mk
278-
include test/libc/tinymath/test.mk
279-
include test/libc/intrin/test.mk
280-
include test/libc/mem/test.mk
281-
include test/libc/nexgen32e/test.mk
282-
include test/libc/runtime/test.mk
283-
include test/libc/thread/test.mk
284-
include test/libc/sock/test.mk
285-
include test/libc/str/test.mk
286-
include test/libc/log/test.mk
287-
include test/libc/str/test.mk
288-
include test/libc/calls/test.mk
289-
include test/libc/x/test.mk
290-
include test/libc/xed/test.mk
291-
include test/libc/fmt/test.mk
292-
include test/libc/dns/test.mk
293-
include test/libc/time/test.mk
294-
include test/libc/proc/test.mk
295-
include test/libc/stdio/test.mk
296-
include test/libc/release/test.mk
297-
include test/libc/test.mk
298-
include test/net/http/test.mk
299-
include test/net/https/test.mk
300-
include test/net/finger/test.mk
301-
include test/net/test.mk
302-
include test/tool/build/lib/test.mk
303-
include test/tool/build/test.mk
304-
include test/tool/viz/lib/test.mk
305-
include test/tool/viz/test.mk
306-
include test/tool/net/test.mk
307-
include test/tool/test.mk
308-
include test/dsp/core/test.mk
309-
include test/dsp/scale/test.mk
310-
include test/dsp/tty/test.mk
311-
include test/dsp/test.mk
312-
include examples/package/lib/build.mk
313-
include examples/package/build.mk
169+
include libc/nexgen32e/BUILD.mk #─┐
170+
include libc/sysv/BUILD.mk # ├──SYSTEM SUPPORT
171+
include libc/nt/BUILD.mk # │ You can do math
172+
include libc/intrin/BUILD.mk # │ You can use the stack
173+
include third_party/compiler_rt/BUILD.mk # │ You can manipulate arrays
174+
include libc/tinymath/BUILD.mk # │ You can issue raw system calls
175+
include libc/str/BUILD.mk #
176+
include third_party/xed/BUILD.mk #
177+
include third_party/puff/BUILD.mk #
178+
include libc/elf/BUILD.mk #
179+
include ape/BUILD.mk #
180+
include libc/fmt/BUILD.mk #
181+
include libc/vga/BUILD.mk #
182+
include libc/irq/BUILD.mk #─┘
183+
include libc/calls/BUILD.mk #─┐
184+
include libc/irq/BUILD.mk # ├──SYSTEMS RUNTIME
185+
include third_party/nsync/BUILD.mk # │ You can issue system calls
186+
include libc/runtime/BUILD.mk #
187+
include third_party/double-conversion/BUILD.mk #
188+
include libc/crt/BUILD.mk #
189+
include third_party/dlmalloc/BUILD.mk #─┘
190+
include libc/mem/BUILD.mk #─┐
191+
include third_party/gdtoa/BUILD.mk # ├──DYNAMIC RUNTIME
192+
include third_party/nsync/mem/BUILD.mk # │ You can now use stdio
193+
include libc/proc/BUILD.mk # │ You can now use threads
194+
include libc/dlopen/BUILD.mk # │ You can now use processes
195+
include libc/thread/BUILD.mk # │ You can finally call malloc()
196+
include tool/hello/BUILD.mk #
197+
include third_party/zlib/BUILD.mk #
198+
include libc/stdio/BUILD.mk #
199+
include libc/time/BUILD.mk #
200+
include net/BUILD.mk #
201+
include third_party/vqsort/BUILD.mk #
202+
include libc/log/BUILD.mk #
203+
include third_party/getopt/BUILD.mk #
204+
include third_party/bzip2/BUILD.mk #
205+
include dsp/core/BUILD.mk #
206+
include third_party/musl/BUILD.mk #
207+
include libc/x/BUILD.mk #
208+
include third_party/stb/BUILD.mk #
209+
include dsp/scale/BUILD.mk #
210+
include dsp/mpeg/BUILD.mk #
211+
include dsp/BUILD.mk #
212+
include third_party/zlib/gz/BUILD.mk #
213+
include third_party/intel/BUILD.mk #
214+
include third_party/aarch64/BUILD.mk #
215+
include libc/BUILD.mk #─┘
216+
include libc/sock/BUILD.mk #─┐
217+
include dsp/tty/BUILD.mk # ├──ONLINE RUNTIME
218+
include libc/dns/BUILD.mk # │ You can communicate with the network
219+
include net/http/BUILD.mk #
220+
include third_party/mbedtls/BUILD.mk #
221+
include third_party/libcxx/BUILD.mk #
222+
include third_party/ggml/BUILD.mk #
223+
include third_party/radpajama/BUILD.mk #
224+
include net/https/BUILD.mk #
225+
include third_party/regex/BUILD.mk #─┘
226+
include third_party/tidy/BUILD.mk
227+
include third_party/BUILD.mk
228+
include third_party/nsync/testing/BUILD.mk
229+
include libc/testlib/BUILD.mk
230+
include tool/viz/lib/BUILD.mk
231+
include tool/args/BUILD.mk
232+
include test/posix/BUILD.mk
233+
include test/tool/args/BUILD.mk
234+
include third_party/linenoise/BUILD.mk
235+
include third_party/maxmind/BUILD.mk
236+
include net/finger/BUILD.mk
237+
include third_party/double-conversion/test/BUILD.mk
238+
include third_party/lua/BUILD.mk
239+
include third_party/tree/BUILD.mk
240+
include third_party/zstd/BUILD.mk
241+
include third_party/tr/BUILD.mk
242+
include third_party/sed/BUILD.mk
243+
include third_party/awk/BUILD.mk
244+
include third_party/hiredis/BUILD.mk
245+
include third_party/make/BUILD.mk
246+
include third_party/ctags/BUILD.mk
247+
include third_party/finger/BUILD.mk
248+
include third_party/argon2/BUILD.mk
249+
include third_party/smallz4/BUILD.mk
250+
include third_party/sqlite3/BUILD.mk
251+
include third_party/mbedtls/test/BUILD.mk
252+
include third_party/quickjs/BUILD.mk
253+
include third_party/lz4cli/BUILD.mk
254+
include third_party/zip/BUILD.mk
255+
include third_party/xxhash/BUILD.mk
256+
include third_party/unzip/BUILD.mk
257+
include tool/build/lib/BUILD.mk
258+
include third_party/chibicc/BUILD.mk
259+
include third_party/chibicc/test/BUILD.mk
260+
include third_party/python/BUILD.mk
261+
include tool/build/BUILD.mk
262+
include tool/curl/BUILD.mk
263+
include third_party/qemu/BUILD.mk
264+
include examples/BUILD.mk
265+
include examples/pyapp/BUILD.mk
266+
include examples/pylife/BUILD.mk
267+
include tool/decode/lib/BUILD.mk
268+
include tool/decode/BUILD.mk
269+
include tool/lambda/lib/BUILD.mk
270+
include tool/lambda/BUILD.mk
271+
include tool/plinko/lib/BUILD.mk
272+
include tool/plinko/BUILD.mk
273+
include test/tool/plinko/BUILD.mk
274+
include tool/net/BUILD.mk
275+
include tool/viz/BUILD.mk
276+
include tool/BUILD.mk
277+
include net/turfwar/BUILD.mk
278+
include test/libc/tinymath/BUILD.mk
279+
include test/libc/intrin/BUILD.mk
280+
include test/libc/mem/BUILD.mk
281+
include test/libc/nexgen32e/BUILD.mk
282+
include test/libc/runtime/BUILD.mk
283+
include test/libc/thread/BUILD.mk
284+
include test/libc/sock/BUILD.mk
285+
include test/libc/str/BUILD.mk
286+
include test/libc/log/BUILD.mk
287+
include test/libc/str/BUILD.mk
288+
include test/libc/calls/BUILD.mk
289+
include test/libc/x/BUILD.mk
290+
include test/libc/xed/BUILD.mk
291+
include test/libc/fmt/BUILD.mk
292+
include test/libc/dns/BUILD.mk
293+
include test/libc/time/BUILD.mk
294+
include test/libc/proc/BUILD.mk
295+
include test/libc/stdio/BUILD.mk
296+
include test/libc/release/BUILD.mk
297+
include test/libc/BUILD.mk
298+
include test/net/http/BUILD.mk
299+
include test/net/https/BUILD.mk
300+
include test/net/finger/BUILD.mk
301+
include test/net/BUILD.mk
302+
include test/tool/build/lib/BUILD.mk
303+
include test/tool/build/BUILD.mk
304+
include test/tool/viz/lib/BUILD.mk
305+
include test/tool/viz/BUILD.mk
306+
include test/tool/net/BUILD.mk
307+
include test/tool/BUILD.mk
308+
include test/dsp/core/BUILD.mk
309+
include test/dsp/scale/BUILD.mk
310+
include test/dsp/tty/BUILD.mk
311+
include test/dsp/BUILD.mk
312+
include examples/package/lib/BUILD.mk
313+
include examples/package/BUILD.mk
314314
#-φ-examples/package/new.sh
315-
include test/test.mk
315+
include test/BUILD.mk
316316

317317
OBJS = $(foreach x,$(PKGS),$($(x)_OBJS))
318318
SRCS := $(foreach x,$(PKGS),$($(x)_SRCS))

ape/ape.mk renamed to ape/BUILD.mk

File renamed without changes.

dsp/dsp.mk renamed to dsp/BUILD.mk

File renamed without changes.

dsp/core/core.mk renamed to dsp/core/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ DSP_CORE_SRCS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_SRCS))
5555
DSP_CORE_HDRS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_HDRS))
5656
DSP_CORE_CHECKS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_CHECKS))
5757
DSP_CORE_OBJS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_OBJS))
58-
$(DSP_CORE_OBJS): $(BUILD_FILES) dsp/core/core.mk
58+
$(DSP_CORE_OBJS): $(BUILD_FILES) dsp/core/BUILD.mk
5959

6060
.PHONY: o/$(MODE)/dsp/core
6161
o/$(MODE)/dsp/core: $(DSP_CORE_CHECKS)

dsp/mpeg/mpeg.mk renamed to dsp/mpeg/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ DSP_MPEG_SRCS = $(foreach x,$(DSP_MPEG_ARTIFACTS),$($(x)_SRCS))
5959
DSP_MPEG_HDRS = $(foreach x,$(DSP_MPEG_ARTIFACTS),$($(x)_HDRS))
6060
DSP_MPEG_CHECKS = $(foreach x,$(DSP_MPEG_ARTIFACTS),$($(x)_CHECKS))
6161
DSP_MPEG_OBJS = $(foreach x,$(DSP_MPEG_ARTIFACTS),$($(x)_OBJS))
62-
$(DSP_MPEG_OBJS): $(BUILD_FILES) dsp/mpeg/mpeg.mk
62+
$(DSP_MPEG_OBJS): $(BUILD_FILES) dsp/mpeg/BUILD.mk
6363

6464
.PHONY: o/$(MODE)/dsp/mpeg
6565
o/$(MODE)/dsp/mpeg: $(DSP_MPEG_CHECKS)

dsp/scale/scale.mk renamed to dsp/scale/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ DSP_SCALE_SRCS = $(foreach x,$(DSP_SCALE_ARTIFACTS),$($(x)_SRCS))
5858
DSP_SCALE_HDRS = $(foreach x,$(DSP_SCALE_ARTIFACTS),$($(x)_HDRS))
5959
DSP_SCALE_CHECKS = $(foreach x,$(DSP_SCALE_ARTIFACTS),$($(x)_CHECKS))
6060
DSP_SCALE_OBJS = $(foreach x,$(DSP_SCALE_ARTIFACTS),$($(x)_OBJS))
61-
$(DSP_SCALE_OBJS): $(BUILD_FILES) dsp/scale/scale.mk
61+
$(DSP_SCALE_OBJS): $(BUILD_FILES) dsp/scale/BUILD.mk
6262

6363
.PHONY: o/$(MODE)/dsp/scale
6464
o/$(MODE)/dsp/scale: $(DSP_SCALE_CHECKS)

dsp/tty/tty.mk renamed to dsp/tty/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ DSP_TTY_SRCS = $(foreach x,$(DSP_TTY_ARTIFACTS),$($(x)_SRCS))
6767
DSP_TTY_HDRS = $(foreach x,$(DSP_TTY_ARTIFACTS),$($(x)_HDRS))
6868
DSP_TTY_CHECKS = $(foreach x,$(DSP_TTY_ARTIFACTS),$($(x)_CHECKS))
6969
DSP_TTY_OBJS = $(foreach x,$(DSP_TTY_ARTIFACTS),$($(x)_OBJS))
70-
$(DSP_TTY_OBJS): $(BUILD_FILES) dsp/tty/tty.mk
70+
$(DSP_TTY_OBJS): $(BUILD_FILES) dsp/tty/BUILD.mk
7171

7272
.PHONY: o/$(MODE)/dsp/tty
7373
o/$(MODE)/dsp/tty: $(DSP_TTY_CHECKS)

examples/examples.mk renamed to examples/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ o/$(MODE)/examples/picol.com.dbg: \
157157
o/$(MODE)/examples/nesemu1.o: private QUOTA += -M512m
158158
o/$(MODE)/usr/share/dict/words.zip.o: private ZIPOBJ_FLAGS += -C2
159159

160-
$(EXAMPLES_OBJS): examples/examples.mk
160+
$(EXAMPLES_OBJS): examples/BUILD.mk
161161

162162
o/$(MODE)/usr/share/dict/words: \
163163
usr/share/dict/words.gz

examples/package/build.mk renamed to examples/package/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ o/$(MODE)/examples/package/%.com.dbg: \
6363
@$(APELINK)
6464

6565
# Invalidates objects in package when makefile is edited.
66-
$(EXAMPLES_PACKAGE_OBJS): examples/package/build.mk
66+
$(EXAMPLES_PACKAGE_OBJS): examples/package/BUILD.mk
6767

6868
# Creates target building everything in package and subpackages.
6969
.PHONY: o/$(MODE)/examples/package

examples/package/lib/build.mk renamed to examples/package/lib/BUILD.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $(EXAMPLES_PACKAGE_LIB_A).pkg: \
9393
$(foreach x,$(EXAMPLES_PACKAGE_LIB_A_DIRECTDEPS),$($(x)_A).pkg)
9494

9595
# Invalidates objects in package when makefile is edited.
96-
$(EXAMPLES_PACKAGE_LIB_A_OBJS): examples/package/lib/build.mk
96+
$(EXAMPLES_PACKAGE_LIB_A_OBJS): examples/package/lib/BUILD.mk
9797

9898
# let these assembly objects build on aarch64
9999
o/$(MODE)/examples/package/lib/myasm.o: examples/package/lib/myasm.S

0 commit comments

Comments
 (0)