# Copyright (C) 1996 Robert de Bath # This file is part of the Linux-8086 C library and is distributed # under the GNU Library General Public License. BCC=bcc CC=$(BCC) CFLAGS=-O SRC=env.c ft.c hd.c sync.c compr.c ucomp.c ouch.c lines.c \ wc.c line2.c rand.c grab.c OBJ= EXE=env ft hd sync compr ucomp ouch lines wc line2 rand grab bcc-x86 LINK_FILES=cat chgrp chmod chown cp install ln mkdir mkfifo mknod mv rm all: $(EXE) bcc-x86: $(CC) -O -o bcc-x86 \ ../bcc/assign.c ../bcc/bcc-cc1.c ../bcc/codefrag.c \ ../bcc/dbnode.c ../bcc/debug.c ../bcc/declare.c \ ../bcc/express.c ../bcc/exptree.c ../bcc/floatop.c \ ../bcc/function.c ../bcc/gencode.c ../bcc/genloads.c \ ../bcc/glogcode.c ../bcc/hardop.c ../bcc/hashcmd.c \ ../bcc/input.c ../bcc/label.c ../bcc/loadexp.c \ ../bcc/longop.c ../bcc/output.c ../bcc/preproc.c \ ../bcc/preserve.c ../bcc/scan.c ../bcc/softop.c \ ../bcc/state.c ../bcc/table.c ../bcc/type.c install: echo Use real-install if you actually want to install these real-install: install wc hd env ft $(DIST)$(PREFIX)/bin for i in $(LINK_FILES) ; do ln -s ft $(DIST)$(PREFIX)/bin/$$i ; done install_links: for i in $(LINK_FILES) ; do ln -s ft $$i ; done no_links: rm -f $(LINK_FILES) clean realclean: rm -f $(OBJ) $(EXE) $(LINK_FILES)