[989785]: Makefile Maximize Restore History

Download this file

Makefile    34 lines (26 with data), 636 Bytes

 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
29
30
31
32
33
34
#top-level makefile for PDF editor
.PHONY: distclean clean doc src install all regen
#make PDF editor - source and documentation
all: src doc
#install PDF editor
install: all
cd src && make install
#make documentation
#GNU make is required to build documentation, BSD make will not work
#GNU make is installed sometimes as gmake, sometimes as make
doc:
cd doc && ( gmake || make )
#make application
src:
cd src && make
#cleanup
clean:
cd doc/user && make clean
cd src && make clean
#dist cleanup
distclean:
cd doc/user && make clean
cd src && make distclean
#re-generate programmer documentation
regen:
cd doc && doxygen