diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-02-25 20:42:19 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:38:07 +0200 |
commit | 4c36e9a0c125ccfff37aa440dab2cf58c4152fff (patch) | |
tree | a5d9c84ba2661029ddb2223dacd50529a361c3d5 /tests/Makefile | |
parent | f8de35da65c5d93bb733073cf40da154bc1c0748 (diff) | |
parent | 9696d7b0e1f3a1b0f5fd4a0428eb75afe8ad4ed6 (diff) | |
download | dev86-4c36e9a0c125ccfff37aa440dab2cf58c4152fff.tar.gz |
Import Dev86src-0.0.11.tar.gzv0.0.11
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/tests/Makefile b/tests/Makefile index 52eb94a..ceb884e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,22 +2,25 @@ # This file is part of the Linux-8086 C library and is distributed # under the GNU Library General Public License. -CC=bcc -CFLAGS=-O -ansi -LDFLAGS= +BCC=bcc +CC=$(BCC) +CFLAGS=-O -s -ifeq (Real_make,$(wildcard Real_make)) -include Real_make -endif +SRC=env.c ft.c hd.c size.c sync.c compr.c ucomp.c ouch.c lines.c \ + wc.c line2.c rand.c grab.c +OBJ= +EXE=env ft hd size sync compr ucomp ouch lines wc line2 rand grab -ifneq ($(TOPDIR),) -starter: - make -C ../libc/tests fetch_them - make all -endif +LINK_FILES=cat chgrp chmod chown cp install ln mkdir mkfifo mknod mv rm -not_from_here: - @echo Do make tests from the top directory +all: $(EXE) + +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) -clean: - rm -f Real_make $(SRC) $(OBJ) $(EXE) $(LINK_FILES) |