diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-15 15:33:01 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-15 15:38:53 -0500 |
| commit | c7682f5cd382a7690029bf95448bed2fda8ec83a (patch) | |
| tree | 5f6a7839753d0b86258b3dea52cd3d26d439ce00 /sys/kern/Makefile | |
| parent | 6a509d580fda4e9e78c88afa89b5747e03b7869a (diff) | |
kern: Create C kernel entrypoint
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/Makefile')
| -rw-r--r-- | sys/kern/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/kern/Makefile b/sys/kern/Makefile new file mode 100644 index 0000000..27fe60b --- /dev/null +++ b/sys/kern/Makefile @@ -0,0 +1,10 @@ +CFILES = $(shell find . -name "*.c") +OFILES = $(CFILES:.c=.o) +CC = +SYS_CFLAGS = + +.PHONY: all +all: $(OFILES) + +%.o: %.c + $(CC) -c $< $(SYS_CFLAGS) -I../inc/ -o $@ |
