ispinlock make, phony all
This commit is contained in:
parent
b0fe61094d
commit
97e2508516
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -28,7 +28,7 @@ CFLAGS += -fno-omit-frame-pointer # More reliable backtraces in GDB
|
|||
|
||||
all: kernel.elf
|
||||
|
||||
kernel.elf: entry.o start.o lib/string.o lib/proc.o lib/spinlock.o lib/proc.o lib/uart.o lib/panic.o kern/kalloc.o lib/memory.o
|
||||
kernel.elf: entry.o start.o lib/string.o lib/proc.o lib/proc.o lib/uart.o lib/panic.o kern/kalloc.o lib/memory.o kern/ispinlock.o lib/spinlock.o
|
||||
@echo LD $@
|
||||
@$(LD) $(LDFLAGS) -o $@ $^
|
||||
|
||||
|
@ -48,3 +48,5 @@ clean:
|
|||
rm -f *.o *.elf *.d lib/*.o lib/*.d
|
||||
|
||||
-include *.d
|
||||
|
||||
.PHONY: all
|
||||
|
|
Loading…
Add table
Reference in a new issue