diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-20 21:11:13 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-26 12:29:24 +0200 |
commit | 8e2707b81b0c90295c9fdf92a576925442d22147 (patch) | |
tree | e95ad185bfb7169ddaa1cfdceb6a9b134b3ec8b8 /package/sash/src/libsash/Makefile | |
parent | 62f5a17a49e65c6639460abbf352b158b36301a7 (diff) |
add sash, simpleinit and a uclibc config for nonmmu case
Diffstat (limited to 'package/sash/src/libsash/Makefile')
-rw-r--r-- | package/sash/src/libsash/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/sash/src/libsash/Makefile b/package/sash/src/libsash/Makefile new file mode 100644 index 000000000..03a2fafae --- /dev/null +++ b/package/sash/src/libsash/Makefile @@ -0,0 +1,20 @@ + +LIB = libsash.a +CHOPSRC = utils.c +LIBOBJS = intflag.o modestring.o timestring.o isadir.o copyfile.o \ + buildname.o expandwildcards.o namesort.o match.o makeargs.o \ + makestring.o chunks.o expandenvvar.o + +CFLAGS += -I../ + + +all: $(EXEC) $(LIB) + +$(LIBOBJS): $(CHOPSRC) + $(CC) $(CFLAGS) -DL_$(basename $*) -o $(basename $*).o -c $^ + +$(LIB): $(LIB)($(LIBOBJS)) + $(RANLIB) $(LIB) + +clean: + rm -f $(LIB) $(EXEC) *.o |