Makefile 206 B

1234567891011121314
  1. CC = musl-gcc
  2. LDFLAGS = -lm
  3. prefix = /usr/local
  4. all: escstring
  5. escstring:
  6. $(CC) $(LDFLAGS) escstring.c -o $@
  7. install:
  8. install -m 0755 escstring $(prefix)/bin
  9. clean:
  10. rm -f escstring escstring.o