diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-17 18:09:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-17 18:11:55 -0400 |
commit | 3e83b2f9be4f2446e5284a55ab996a083b521b0b (patch) | |
tree | 8586ad74cd99b9875547ec8a8930ca3189059210 /src/cmd | |
parent | bccb4fec8a3ad8a46e08124c9adf1aa54a87c9cb (diff) |
build: 'cmd/test' -> 'cmd/init'
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/Makefile | 4 | ||||
-rw-r--r-- | src/cmd/init/Makefile (renamed from src/cmd/test/Makefile) | 2 | ||||
-rw-r--r-- | src/cmd/init/test.c (renamed from src/cmd/test/test.c) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/Makefile b/src/cmd/Makefile index e5eee71..86575a2 100644 --- a/src/cmd/Makefile +++ b/src/cmd/Makefile @@ -6,9 +6,9 @@ LD = .PHONY: all all: - cd test/; LDSCRIPT=$(LDSCRIPT) CC=$(CC) AS=$(AS) LD=$(LD) SYSROOT=$(SYSROOT) \ + cd init/; LDSCRIPT=$(LDSCRIPT) CC=$(CC) AS=$(AS) LD=$(LD) SYSROOT=$(SYSROOT) \ LIBC_DIR=$(shell pwd)/../$(LIBC_DIR) make .PHONY: clean clean: - cd test/; make clean + cd init/; make clean diff --git a/src/cmd/test/Makefile b/src/cmd/init/Makefile index d0a6795..c160563 100644 --- a/src/cmd/test/Makefile +++ b/src/cmd/init/Makefile @@ -5,7 +5,7 @@ CFILES = $(shell find . -name "*.c") CFLAGS = -L$(LIBC_DIR) -lc $(INTERNAL_CFLAGS) OBJECTS = $(CFILES:%.c=%.o) -$(SYSROOT)/usr/bin/test: $(OBJECTS) +$(SYSROOT)/usr/bin/init: $(OBJECTS) $(LD) $(OBJECTS) -o $@ $(CFLAGS) %.o: %.c diff --git a/src/cmd/test/test.c b/src/cmd/init/test.c index 66b8c19..66b8c19 100644 --- a/src/cmd/test/test.c +++ b/src/cmd/init/test.c |