diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-27 17:14:13 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-27 17:14:13 +0200 |
| commit | 727dd67821e4581e4b61b30b79ca47c5bffc8497 (patch) | |
| tree | d5be61f067a42b2633ef148f416f138e7c2f7da2 /package/sash/src/libsash/Makefile | |
| parent | 683cf71a6ebccbd4f827ad4a6ac92dbbaf8f644d (diff) | |
| parent | 008d0e157538e4a4c302dc79e6c28c9da615b527 (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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 |
