Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (23 sloc) 413 Bytes
PEGDIR=.
PARSERGOFILES=\
./calculator/calculator.go\
./cmd/leg/leg.go\
\
./cmd/legleg/leg.go\
./cmd/legcalc/calc.go\
all: prepare
include Make.inc
include cmd/leg/Make.inc
prepare: $(PEG) $(PARSERGOFILES)
clean:
go clean ./...
rm -f $(BOOTSTRAP)
rm -f $(PARSERGOFILES)
# compared files must be equal
test: ./cmd/peg/peg.peg.go
diff $(<D)/bootstrap.go $<
rm -f $<
.PHONY:\
all\
prepare\
clean\