Makefile 285 B

12345678910111213141516171819
  1. # See LICENSE file for copyright and license details.
  2. include config.mk
  3. SRC = dtext.c test.c
  4. HDR = dtext.h
  5. all: example
  6. test: example
  7. ./example
  8. example: config.mk Makefile ${SRC} ${HDR}
  9. ${CC} ${CFLAGS} ${LDFLAGS} ${SRC} -o example
  10. clean:
  11. rm -f example
  12. .PHONY: all test clean