# Makefile for lib/ack/mach/i86/libend.

CC	= false
ARCH	= i86
CFLAGS	=
CC1	= $(CC) -m$(ARCH) $(CFLAGS) -c

LIBRARY	= /usr/lib/$(CC)/$(ARCH)/end.a

OBJECTS	= \
	$(LIBRARY)(_end.o) \
	$(LIBRARY)(edata.o) \
	$(LIBRARY)(end.o) \
	$(LIBRARY)(etext.o) \

$(LIBRARY):	$(OBJECTS)
	$(CC) -c.a -o $@ *.o
	rm *.o

$(LIBRARY)(_end.o):	_end.s
	$(CC1) _end.s

$(LIBRARY)(edata.o):	edata.s
	$(CC1) edata.s

$(LIBRARY)(end.o):	end.s
	$(CC1) end.s

$(LIBRARY)(etext.o):	etext.s
	$(CC1) etext.s
