1 #Makefile relacionado al switcheo de tareas
4 CFLAGS
= -c
-fpack-struct
-ffreestanding
-Wall
-I
$(INCDIR
)
15 INCDIR
= ..
/..
/include
17 OBJECTS
= task.o taska.o sched.o
20 all : sched.a task.o taska.o sched.o
24 $(LD
) $(LFLAGS
) $(OBJECTS
) -o
$(OBJDIR
)/sched.a
> sched.map
28 $(ASM
) $(AFLAGS
) task.asm
-o taska.o
30 task.o
: task.c
$(INCDIR
)/routix
/system.h
$(INCDIR
)/routix
/task.h
31 $(CC
) $(CFLAGS
) task.c
-o task.o
33 sched.o
: sched.c
$(INCDIR
)/routix
/system.h
$(INCDIR
)/routix
/task.h
$(INCDIR
)/routix
/debug.h \
34 $(INCDIR
)/routix
/segm.h
$(INCDIR
)/routix
/paging.h
35 $(CC
) $(CFLAGS
) sched.c
-o sched.o