Changes to make gcc compile our libraries too (Joren)

This commit is contained in:
Ben Gras
2005-10-21 11:19:35 +00:00
parent fd63815169
commit 69a0586adf
29 changed files with 861 additions and 3082 deletions
+7 -24
View File
@@ -1,28 +1,11 @@
# Makefile for lib/end.
CC1 = $(CC) -c
LIBRARIES = end
LIBRARY = ../end.a
all: $(LIBRARY)
end_OBJECTS = \
edata.o \
em_end.o \
end.o \
etext.o \
OBJECTS = \
$(LIBRARY)(edata.o) \
$(LIBRARY)(em_end.o) \
$(LIBRARY)(end.o) \
$(LIBRARY)(etext.o) \
$(LIBRARY): $(OBJECTS)
aal cr $@ *.o
rm *.o
$(LIBRARY)(edata.o): edata.s
$(CC1) edata.s
$(LIBRARY)(em_end.o): em_end.s
$(CC1) em_end.s
$(LIBRARY)(end.o): end.s
$(CC1) end.s
$(LIBRARY)(etext.o): etext.s
$(CC1) etext.s
include ../Makefile.inc