Makefile 219 B

1234567891011
  1. prefix=/usr/local
  2. exec_prefix=$(prefix)
  3. bindir=$(exec_prefix)/bin
  4. all:
  5. gcc -Wall -std=c99 interpreter.h interpreter.c lcli.c -o lcli -lreadline
  6. install:
  7. mkdir -p "$(DESTDIR)$(bindir)"
  8. mv lcli "$(DESTDIR)$(bindir)"