diff options
Diffstat (limited to 'libc/New_subdir')
-rwxr-xr-x | libc/New_subdir | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/New_subdir b/libc/New_subdir index a28a5ec..e3803c7 100755 --- a/libc/New_subdir +++ b/libc/New_subdir @@ -28,17 +28,12 @@ cat <<! > $1/Makefile # 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 - OBJ=$1.o -all: \$(OBJ) - -libc.a: \$(OBJ) - ar r ../\$(LIBC) \$(OBJ) - @touch libc.a +CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) +all: $(LIBC)($(OBJ)) + @: clean: rm -f *.o libc.a ! |