Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
siscia committed Mar 31, 2017
1 parent 916b37b commit 36b76e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ CC=gcc
CFLAGS=-c -Wpedantic -Wall -fPIC
LD=ld

all:
all: sqlite3.o
$(CC) $(CFLAGS) -IRedisModulesSDK/ -Bstatic rediSQL.c -o rediSQL.o
$(LD) -o rediSQL.so rediSQL.o sqlite3.o RedisModulesSDK/rmutil/librmutil.a -shared -lc
sqlite:

sqlite3.o:
$(CC) -fPIC -c -o sqlite3.o sqlite3.c

0 comments on commit 36b76e6

Please sign in to comment.