Commit e2c49426 authored by Raphaël Cauderlier's avatar Raphaël Cauderlier
Browse files

Makefile using new dkdep syntax allowing to break the correspondance

between .dk and .dko file names
parent 1ebfb416
......@@ -2,16 +2,20 @@
DKS = $(wildcard *.dk)
DKOS = $(DKS:.dk=.dko)
DKDEP = dkdep
DKCHECK = dkcheck
DKCHECK_OPTIONS = -nc -r
.PHONY: clean depend
.SUFFIXES: .dk .dko
.dk.dko:
dkcheck -e -nc -r $<
%.dko:
$(DKCHECK) -e $(DKCHECK_OPTIONS) $<
all: $(DKOS)
depend: .depend
.depend:
dkdep *.dk > .depend
$(DKDEP) *.dk > .depend
clean:
rm -f *.dko .depend tmp.dk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment