diff options
author | Yann Collet <cyan@fb.com> | 2017-08-25 00:58:13 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-08-25 00:58:13 (GMT) |
commit | c04655bebf0990bc3c14e1cda122b992733b293d (patch) | |
tree | f38e2a7325f3b14cd03fe8db35b9f4302f8ba190 /programs/Makefile | |
parent | 517dd95d92980cb709f8ad176ca17c2b7e79e709 (diff) | |
download | lz4-c04655bebf0990bc3c14e1cda122b992733b293d.zip lz4-c04655bebf0990bc3c14e1cda122b992733b293d.tar.gz lz4-c04655bebf0990bc3c14e1cda122b992733b293d.tar.bz2 |
fixed make recurrence from /tests
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/programs/Makefile b/programs/Makefile index 67af189..29408f1 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -42,7 +42,8 @@ LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT)) LIBVER := $(shell echo $(LIBVER_SCRIPT)) SRCFILES := $(wildcard $(LZ4DIR)/*.c) $(wildcard *.c) -OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) +#OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) +OBJFILES := $(SRCFILES:.c=.o) CPPFLAGS += -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ CFLAGS ?= -O3 @@ -81,13 +82,13 @@ lz4: $(OBJFILES) lz4-release: DEBUGFLAGS= lz4-release: lz4 +lz4c: lz4 + ln -s lz4 lz4c + lz4c32: CFLAGS += -m32 lz4c32 : $(SRCFILES) $(CC) $(FLAGS) $^ -o $@$(EXT) -lz4c: lz4 - ln -s lz4 lz4c - lz4.1: lz4.1.md cat $^ | $(MD2ROFF) $(MD2ROFF_FLAGS) | sed -n '/^\.\\\".*/!p' > $@ |