diff options
author | Simon <sgkadesh@icloud.com> | 2024-01-27 02:23:28 -0500 |
---|---|---|
committer | Simon <sgkadesh@icloud.com> | 2024-01-27 02:23:28 -0500 |
commit | 160cb6067e159b949857a05e88334bbd2bd7dc75 (patch) | |
tree | e38d477a6e26b7af00a6d73c11b38b7a3141c41c /Makefile | |
parent | fixes (diff) | |
parent | Added basic long mode setup (diff) | |
download | corn-160cb6067e159b949857a05e88334bbd2bd7dc75.tar.gz corn-160cb6067e159b949857a05e88334bbd2bd7dc75.tar.bz2 corn-160cb6067e159b949857a05e88334bbd2bd7dc75.zip |
Merge branch 'main' into HEAD
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ $(A_OBJ): $(BUILD_DIR)/%.S.o : %.S @mkdir -p $(@D) nasm $< -f elf64 -o $@ +$(BUILD_DIR)/$(SRC_DIR)/arch/amd64/shim.o: $(SRC_DIR)/arch/amd64/shim.c + @mkdir -p $(@D) + $(CC) -c $(CFLAGS) -o $@ $< -m32 + $(C_OBJ): $(BUILD_DIR)/%.o : %.c @mkdir -p $(@D) $(CC) -c $(CFLAGS) -o $@ $< |