Commit e791703f authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Makefile target for parser tests

parent 62a36ab1
...@@ -94,6 +94,12 @@ check: hiredis-test ...@@ -94,6 +94,12 @@ check: hiredis-test
( kill `cat /tmp/hiredis-test-redis.pid` && false ) ( kill `cat /tmp/hiredis-test-redis.pid` && false )
kill `cat /tmp/hiredis-test-redis.pid` kill `cat /tmp/hiredis-test-redis.pid`
test/test-%.o: test/test-%.c
$(CC) -std=c99 -pedantic -o $@ -c $(REAL_CFLAGS) $<
test/test-parser: test/test-parser.o parser.o sds.o
$(CC) -o $@ $(REAL_LDFLAGS) $^
.c.o: .c.o:
$(CC) -std=c99 -pedantic -c $(REAL_CFLAGS) $< $(CC) -std=c99 -pedantic -c $(REAL_CFLAGS) $<
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment