php-parser/Makefile

21 lines
361 B
Makefile
Raw Normal View History

2017-11-07 06:21:38 +00:00
# Copyright (c) 2011 CZ.NIC z.s.p.o. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# blame: jnml, labs.nic.cz
2017-11-22 10:06:56 +00:00
all: lexer.go
2017-11-07 06:21:38 +00:00
go build
run: all
./php-parser
2017-11-22 10:06:56 +00:00
lexer.go: lexer.l
2017-11-07 06:21:38 +00:00
golex -t $< | gofmt > $@
clean:
rm -f php-parser.go lex.yy.go y.output *~
nuke: clean
rm -f example