File: Makefile

package info (click to toggle)
librnd 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,812 kB
  • sloc: ansic: 126,990; sh: 2,602; makefile: 2,145; awk: 7
file content (35 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (2)
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
35
PREFIX=/usr/local
INCDIR=$(install_root)$(DESTDIR)$(PREFIX)/include/genfip
CP=cp
MKDIR=mkdir -p
LN=ln -sf

all:

install_:
	$(MKDIR) $(INCDIR)
	$(CP) `pwd`/big.h         $(INCDIR)/big.h
	$(CP) `pwd`/config.h      $(INCDIR)/config.h
	$(CP) `pwd`/fip11.h       $(INCDIR)/fip11.h
	$(CP) `pwd`/fip_implc.h   $(INCDIR)/fip_implc.h
	$(CP) `pwd`/fip_implh.h   $(INCDIR)/fip_implh.h
	$(CP) `pwd`/fip_mpi.h     $(INCDIR)/fip_mpi.h
	$(CP) `pwd`/fip_undef.h   $(INCDIR)/fip_undef.h
	$(CP) `pwd`/rational.h    $(INCDIR)/rational.h

uninstall:
	$(RM)   $(INCDIR)/big.h
	$(RM)   $(INCDIR)/config.h
	$(RM)   $(INCDIR)/fip11.h
	$(RM)   $(INCDIR)/fip_implc.h
	$(RM)   $(INCDIR)/fip_implh.h
	$(RM)   $(INCDIR)/fip_mpi.h
	$(RM)   $(INCDIR)/fip_undef.h
	$(RM)   $(INCDIR)/rational.h

install:
	make install_ CP="$(CP)" MKDIR="$(MKDIR)"

linstall:
	make install_ CP="$(LN)" MKDIR="$(MKDIR)"