File: Makefile

package info (click to toggle)
projectile 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,204 kB
  • sloc: lisp: 4,504; makefile: 30
file content (28 lines) | stat: -rw-r--r-- 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
CASK = cask
export EMACS ?= emacs
EMACSFLAGS =
TESTFLAGS =

PKGDIR := $(shell EMACS=$(EMACS) $(CASK) package-directory)

SRCS = $(wildcard *.el)
OBJS = $(SRCS:.el=.elc)

.PHONY: compile test clean

elpa:
	$(CASK) install
	$(CASK) update
	touch $@

elpaclean:
	rm -f elpa*
	rm -rf .cask # Clean packages installed for development

compile: $(OBJS)

clean:
	rm -f $(OBJS)

test: $(PGKDIR)
	$(CASK) exec buttercup -L .