summaryrefslogtreecommitdiff
path: root/test-suite/tests/c-api/Makefile
blob: 44488af50ea10a730d279f58c9863555e53b0d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CC = gcc
CFLAGS = -g `guile-config compile`

all: strings

strings: strings.o testlib.o
	${CC} ${CFLAGS} ${LDFLAGS} -o strings strings.o testlib.o \
		`guile-config link`

strings.o: strings.c testlib.h
testlib.o: testlib.c testlib.h


clean:
	rm -f strings
	rm -f *.o