3 CFLAGS
= -c
-ffreestanding
-fwritable-strings
-fpack-struct
-Wall
-I
$(INCDIR
)
10 INCDIR
= ..
/..
/include
16 OBJECTS
= routix.o string.o alloc.o
18 all : routstd.a
$(OBJECTS
)
20 #Crear "libreria" routstd.a (Routix Standar)
22 ar r routstd.a
$(OBJECTS
)
25 routix.o
: $(RoutixStd
)/routix.c
26 $(CC
) $(CFLAGS
) $(RoutixStd
)/routix.c
-o routix.o
29 string.o
: $(Str
)/string.c
30 $(CC
) $(CFLAGS
) $(Str
)/string.c
-o string.o
33 alloc.o
: $(Alloc
)/alloc.c
34 $(CC
) $(CFLAGS
) $(Alloc
)/alloc.c
-o alloc.o