File: Makefile.human

package info (click to toggle)
ccbuild 2.0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,376 kB
  • ctags: 551
  • sloc: cpp: 5,076; ansic: 1,913; sh: 1,342; makefile: 67
file content (28 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (4)
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