Joren's new library make system (minus Makefiles)
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# Makefile for lib/ack/math.
|
||||
|
||||
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
|
||||
|
||||
LIBRARIES = libc
|
||||
|
||||
libc_OBJECTS = \
|
||||
frexp.o \
|
||||
modf.o \
|
||||
isnan.o \
|
||||
ldexp.o \
|
||||
|
||||
include ../../Makefile.ack.inc
|
||||
@@ -1,29 +0,0 @@
|
||||
# Makefile for lib/math.
|
||||
|
||||
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
|
||||
CC1 = $(CC) $(CFLAGS) -c
|
||||
|
||||
LIBRARY = ../../libc.a
|
||||
all: $(LIBRARY)
|
||||
|
||||
OBJECTS = \
|
||||
$(LIBRARY)(frexp.o) \
|
||||
$(LIBRARY)(modf.o) \
|
||||
$(LIBRARY)(isnan.o) \
|
||||
$(LIBRARY)(ldexp.o) \
|
||||
|
||||
$(LIBRARY): $(OBJECTS)
|
||||
aal cr $@ *.o
|
||||
rm *.o
|
||||
|
||||
$(LIBRARY)(frexp.o): frexp.s
|
||||
$(CC1) frexp.s
|
||||
|
||||
$(LIBRARY)(modf.o): modf.s
|
||||
$(CC1) modf.s
|
||||
|
||||
$(LIBRARY)(isnan.o): isnan.c
|
||||
$(CC1) isnan.c
|
||||
|
||||
$(LIBRARY)(ldexp.o): ldexp.c
|
||||
$(CC1) ldexp.c
|
||||
13
lib/ack/math/Makefile.in
Normal file
13
lib/ack/math/Makefile.in
Normal file
@@ -0,0 +1,13 @@
|
||||
# Makefile for lib/ack/math.
|
||||
|
||||
CFLAGS="-O -D_MINIX -D_POSIX_SOURCE"
|
||||
|
||||
LIBRARIES=libc
|
||||
|
||||
libc_FILES=" \
|
||||
frexp.s \
|
||||
modf.s \
|
||||
isnan.c \
|
||||
ldexp.c"
|
||||
|
||||
TYPE=ack
|
||||
Reference in New Issue
Block a user