summaryrefslogtreecommitdiff
path: root/libc/gtermcap/Makefile
blob: 62a966d5b2411969b5774c23ba54f43accb110cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.

TOP=..
include $(TOP)/Make.defs

ifeq ($(LIB_OS),ELKS)
OBJ=termcap.o tparam.o
endif

all: $(OBJ)

libc.a: $(OBJ)
	ar r ../$(LIBC) $(OBJ)
	@touch libc.a

clean:
	rm -f *.o libc.a

$(SOBJ): $(SSRC)
	$(CC) $(CFLAGS) -c -DL_$* -o $@ $(SSRC)