Reorganized source tree. Started using autotools.
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
objs = x86/inthandlers.o x86/interruptdescriptor.o x86/idt.o x86/interrupts.o
|
||||
archive = libinterrupts.a
|
||||
|
||||
$(archive): $(objs)
|
||||
i686-elf-ar rcs $@ $^
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(archive) $(objs)
|
||||
6
src/interrupts/Makefile.am
Normal file
6
src/interrupts/Makefile.am
Normal file
@@ -0,0 +1,6 @@
|
||||
noinst_LIBRARIES = libinterrupts.a
|
||||
libinterrupts_a_CPPFLAGS = -ffreestanding -mgeneral-regs-only -O0 -Wall -fno-exceptions -fno-rtti -ggdb
|
||||
|
||||
if x86
|
||||
libinterrupts_a_SOURCES = x86/interrupts.cpp x86/inthandlers.cpp x86/interruptdescriptor.cpp x86/idt.S
|
||||
endif
|
||||
Reference in New Issue
Block a user