diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-26 16:00:56 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-26 16:00:56 +0000 |
commit | 01f93e1725c06494467d25c9dfb8157263bf58b2 (patch) | |
tree | c21d0d47ca53704b4470d86e227f26cdd0b7d8a7 | |
parent | 7cb1909d28543cf956cf1a2b516a5c0c7e4ad3c2 (diff) |
Some minor makefile fixups
-rw-r--r-- | libcrypt/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcrypt/Makefile b/libcrypt/Makefile index 78deb14a4..527f68966 100644 --- a/libcrypt/Makefile +++ b/libcrypt/Makefile @@ -24,7 +24,7 @@ TOPDIR=../ include $(TOPDIR)Rules.mak LIBCRYPT=libcrypt.a SHARED_NAME=libcrypt.so.1 -APP_CC= ../extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc +TARGET_CC= ../extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc CSRC = crypt.c des.c md5.c COBJS=$(patsubst %.c,%.o, $(CSRC)) @@ -40,14 +40,14 @@ ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBCRYPT) $(OBJS) $(COBJS): %.o : %.c - $(APP_CC) $(CFLAGS) -c $< -o $@ + $(TARGET_CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o $(OBJ): Makefile shared: $(LIBCRYPT) - $(APP_CC) $(LDFLAGS) -shared -o $(SHARED_NAME) \ - -Wl,-soname,$(SHARED_NAME) $(COBJS) $(TOPDIR)libuClibc.so.1 + $(TARGET_CC) $(LDFLAGS) -shared -o $(SHARED_NAME) \ + -Wl,-soname,$(SHARED_NAME) $(COBJS) $(TOPDIR)$(SHARED_FULLNAME) clean: rm -f *.[oa] *~ core $(SHARED_NAME) |