- prefix=/usr/local
- exec_prefix=$(prefix)
- bindir=$(exec_prefix)/bin
- all: lcli
- lcli: interpreter.h interpreter.c lcli.c
- gcc -Wall -std=c99 interpreter.h interpreter.c lcli.c -o lcli -lreadline
- clean:
- rm -f lcli
- install:
- mkdir -p "$(DESTDIR)$(bindir)"
- mv lcli "$(DESTDIR)$(bindir)"
|