summaryrefslogtreecommitdiff
path: root/libc/gtermcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/gtermcap/Makefile')
-rw-r--r--libc/gtermcap/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/libc/gtermcap/Makefile b/libc/gtermcap/Makefile
index 62a966d..44e21da 100644
--- a/libc/gtermcap/Makefile
+++ b/libc/gtermcap/Makefile
@@ -2,22 +2,18 @@
# 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
+CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
ifeq ($(LIB_OS),ELKS)
OBJ=termcap.o tparam.o
-endif
-
-all: $(OBJ)
-libc.a: $(OBJ)
- ar r ../$(LIBC) $(OBJ)
- @touch libc.a
+all: $(LIBC)($(OBJ))
+ @:
+else
+all:
+ @:
+endif
clean:
rm -f *.o libc.a
-$(SOBJ): $(SSRC)
- $(CC) $(CFLAGS) -c -DL_$* -o $@ $(SSRC)
-