2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for aal
|
|
|
|
|
|
|
|
CC=exec cc
|
|
|
|
CFLAGS=-I. -wo -DAAL -DSTB -DNDEBUG -DDISTRIBUTION -D_POSIX_SOURCE -D_MINIX
|
|
|
|
LDFLAGS=-i
|
|
|
|
|
|
|
|
all: aal
|
|
|
|
|
|
|
|
OFILES= archiver.o \
|
|
|
|
print.o \
|
|
|
|
rd.o \
|
|
|
|
rd_arhdr.o \
|
|
|
|
rd_unsig2.o \
|
|
|
|
sprint.o \
|
|
|
|
wr_arhdr.o \
|
|
|
|
wr_bytes.o \
|
|
|
|
wr_int2.o \
|
|
|
|
wr_long.o \
|
|
|
|
wr_ranlib.o \
|
|
|
|
format.o \
|
|
|
|
rd_bytes.o \
|
|
|
|
system.o \
|
|
|
|
write.o \
|
|
|
|
long2str.o
|
|
|
|
|
|
|
|
aal: $(OFILES)
|
|
|
|
$(CC) $(LDFLAGS) -o aal $(OFILES)
|
2005-07-11 14:44:39 +02:00
|
|
|
install -S 512k $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
install: /usr/bin/aal /usr/bin/ar
|
|
|
|
|
|
|
|
/usr/bin/aal: aal
|
|
|
|
install -cs -o bin aal $@
|
|
|
|
|
|
|
|
/usr/bin/ar: /usr/bin/aal
|
|
|
|
install -l $? $@
|
|
|
|
|
|
|
|
archiver.o:
|
|
|
|
print.o:
|
|
|
|
rd.o:
|
|
|
|
rd_arhdr.o:
|
|
|
|
rd_unsig2.o:
|
|
|
|
sprint.o:
|
|
|
|
wr_arhdr.o:
|
|
|
|
wr_bytes.o:
|
|
|
|
wr_int2.o:
|
|
|
|
wr_long.o:
|
|
|
|
wr_ranlib.o:
|
|
|
|
format.o:
|
|
|
|
rd_bytes.o:
|
|
|
|
system.o:
|
|
|
|
write.o:
|
|
|
|
long2str.o:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o core *.bak aal
|