Files
sdb/test/api/Makefile
Riccardo Schirone 109c102f54 Create pkg-config file in meson and make tests runnable from meson (#158)
* install missing headers
* make tests runnable even if sdb is not installed
* refactor CFLAGS/LDFLAGS/SDB env var settings
* sdb-test.mk: do not use -static because it doesn't work on OS X
* test: use sdb-test.sh in suite/run.sh too
* sdb-test.sh: fix current path detection
2018-10-04 11:59:32 +02:00

15 lines
197 B
Makefile

include ../sdb-test.mk
all: array refs
./array
./refs
array: array.c
@$(CC) -o $@ $@.c $(CFLAGS) $(LDFLAGS)
refs: refs.c
@$(CC) -o $@ $@.c $(CFLAGS) $(LDFLAGS)
clean:
rm -f ./array ./refs