File: Makefile.human

package info (click to toggle)
ccbuild 1.5.7-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,208 kB
  • ctags: 441
  • sloc: cpp: 4,817; sh: 1,195; makefile: 53; ansic: 43
file content (28 lines) | stat: -rw-r--r-- 620 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

.PHONY: all clean doc apidoc help
all: ./src/ccbuild

help:
	@echo Possible targets include:
	@echo all        build the main program.
	@echo clean      distclean and remove generatable files.
	@echo distclean  Remove all .o, .gch and o files, recursively.
	@echo doc        Build documentation.
	@echo apidoc     Build api documentation using doxygen.
	@echo help       Show this message.

./src/SourceScanner/yylex.cc: ./src/SourceScanner/lexer
	flex $<
	mv yylex.cc $@

include Makefile.ccbuild

clean: distclean
	rm -f src/ccbuild
	rm -f src/SourceScanner/yylex.cc

apidoc:
	doxygen

doc:
	$(MAKE) -C doc/debiandoc