diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-08 19:06:44 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-08 19:06:44 +0200 |
| commit | 8fee35522dee033863f68c1d2b45f5fe988de9eb (patch) | |
| tree | 5e094806066d2f13bc5ad1fefe663d132e291f8e /src/Makefile | |
| parent | 958e2dae042ca9e28f23e509d541730f30fa8502 (diff) | |
Handle clock interrupt and cleaning code
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 28081af..af32fdd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ EXEC := bringelle -CC := gcc -c -m32 -fno-pie -fno-builtin -fno-stack-protector +CC := gcc -c -m32 -fno-pie -fno-builtin -fno-stack-protector -I ./ LD_SCRIPT := linker.ld # Note that BOOT_OBJ do not match boot.S @@ -10,15 +10,14 @@ UTILS_OBJ := $(addsuffix .o,$(basename $(shell find ./utils -name "*.[c|S]"))) all: $(EXEC) -$(EXEC): boot/boot.o $(UTILS_OBJ) bringelle.o +$(EXEC): boot/boot.o $(BOOT_OBJ) $(UTILS_OBJ) bringelle.o ld -n -T $(LD_SCRIPT) -nostdlib -o bringelle $^ %.o: %.S - as --32 -o $@ $^ -mx86-used-note=no + as --32 -o $@ $^ %.o: %.c $(CC) -o $@ $< - #objcopy --remove-section .note.gnu.property $@ clean: rm -f $(EXEC) |
