diff options
author | Louis P. Santillan <lpsantil@gmail.com> | 2015-05-26 17:26:42 (GMT) |
---|---|---|
committer | Louis P. Santillan <lpsantil@gmail.com> | 2015-05-26 17:26:42 (GMT) |
commit | 936f75b4db65ba671ce5cac7217b542c73d94a60 (patch) | |
tree | 6c1632634bc4064cc3a677e62830a1f698278a7d | |
parent | 81d6b563412d9fe6b7fc6832778492a848494047 (diff) | |
download | lz4-936f75b4db65ba671ce5cac7217b542c73d94a60.zip lz4-936f75b4db65ba671ce5cac7217b542c73d94a60.tar.gz lz4-936f75b4db65ba671ce5cac7217b542c73d94a60.tar.bz2 |
Renamed the djgpp README so that it gets converted to HTML by github. Fixed breakage of `make install`.
-rw-r--r-- | READMEDJ.MD (renamed from README.DJ) | 0 | ||||
-rw-r--r-- | lib/Makefile | 18 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/Makefile b/lib/Makefile index 7c9062e..787e971 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -60,26 +60,26 @@ else SHARED_EXT_VER = $(SHARED_EXT).$(LIBVER) endif -.PHONY: default all liblz4 liblz4 liblz4-static liblz4 clean install uninstall +.PHONY: default all liblz4 liblz4-static clean install uninstall default: liblz4 all: liblz4 -liblz4: liblz4-static liblz4-dynamic - -liblz4-static: lz4.c lz4hc.c lz4frame.c xxhash.c - @echo compiling static library - @$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^ - @$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o - -liblz4-dynamic: lz4.c lz4hc.c lz4frame.c xxhash.c +liblz4: liblz4.a lz4.c lz4hc.c lz4frame.c xxhash.c @echo compiling dynamic library $(LIBVER) @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER) @echo creating versioned links @ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT_MAJOR) @ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT) +liblz4.a: lz4.c lz4hc.c lz4frame.c xxhash.c + @echo compiling static library + @$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^ + @$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o + +liblz4-static: liblz4.a + clean: @rm -f core *.o *.a *.$(SHARED_EXT) *.$(SHARED_EXT).* liblz4.pc @echo Cleaning library completed |