blob: 6e83245b53a8cdf0815fd6b92e162f1e5d5aac70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright (C) 1996 Robert de Bath <robert@mayday.compulink.co.uk>
# 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)
|