Skip to content

Commit

Permalink
Remove testmodule in src/modules/Makefile. (redis#9250)
Browse files Browse the repository at this point in the history
src/modules make failed. As in redis#3718 testmodule.c was removed. But the makefile was not updated

(cherry picked from commit d54c908)
  • Loading branch information
huangzhw authored and oranagra committed Jul 20, 2021
1 parent 66286ff commit dd24fed
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/modules/Makefile
Expand Up @@ -13,7 +13,7 @@ endif

.SUFFIXES: .c .so .xo .o

all: helloworld.so hellotype.so helloblock.so testmodule.so hellocluster.so hellotimer.so hellodict.so hellohook.so helloacl.so
all: helloworld.so hellotype.so helloblock.so hellocluster.so hellotimer.so hellodict.so hellohook.so helloacl.so

.c.xo:
$(CC) -I. $(CFLAGS) $(SHOBJ_CFLAGS) -fPIC -c $< -o $@
Expand Down Expand Up @@ -58,10 +58,5 @@ helloacl.xo: ../redismodule.h
helloacl.so: helloacl.xo
$(LD) -o $@ $< $(SHOBJ_LDFLAGS) $(LIBS) -lc

testmodule.xo: ../redismodule.h

testmodule.so: testmodule.xo
$(LD) -o $@ $< $(SHOBJ_LDFLAGS) $(LIBS) -lc

clean:
rm -rf *.xo *.so

0 comments on commit dd24fed

Please sign in to comment.