Makefile 269 B

1234567891011121314151617
  1. CC = gcc
  2. CFLAGS = -g `guile-config compile`
  3. all: strings
  4. strings: strings.o testlib.o
  5. ${CC} ${CFLAGS} ${LDFLAGS} -o strings strings.o testlib.o \
  6. `guile-config link`
  7. strings.o: strings.c testlib.h
  8. testlib.o: testlib.c testlib.h
  9. clean:
  10. rm -f strings
  11. rm -f *.o