* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / ar / Makefile
blob490a1f688cea9a82fc209f95fa092f0b4ec44803
1 # Copyright (c) 1999 Greg Haerr <greg@censoft.com>
2 # This file is part of the Linux-8086 Development environment and is
3 # distributed under the GNU General Public License.
5 LIBDIR =/usr/bin
6 CFLAGS =-O
7 LDFLAGS =
8 DEFS =
9 OBJS= ar.o alloca.o
11 all: ar86
13 ar86: $(OBJS)
14 $(CC) $(LDFLAGS) $(OBJS) -o $@
16 install: ar86
17 install -d $(LIBDIR)
18 install -m 755 ar86 $(LIBDIR)
20 clean realclean clobber:
21 rm -f *.o ar86 ar ar.h rel_aout.h
23 $(OBJS): ar.h rel_aout.h
25 ar.h:
26 test -f ar.h || \
27 { rm -f ar.h ; ln -s ../libc/include/ar.h . ; } || \
28 ln ../libc/include/ar.h .
30 rel_aout.h:
31 test -f rel_aout.h || \
32 { rm -f rel_aout.h ; ln -s ../ld/rel_aout.h . ; } || \
33 ln ../ld/rel_aout.h .
35 .c.o:
36 $(CC) $(CFLAGS) $(DEFS) -c $< -o $@