File: Makefile

package info (click to toggle)
ee 126.1.89-8
  • links: PTS
  • area: main
  • in suites: slink
  • size: 320 kB
  • ctags: 891
  • sloc: ansic: 7,871; sh: 191; makefile: 52
file content (32 lines) | stat: -rw-r--r-- 832 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
# This is the make file for ee, the "easy editor".
#
# A file called 'make.local' will be generated which will contain information 
# specific to the local system, such as if it is a BSD or System V based 
# version of UNIX, whether or not it has catgets, or select.  
#
# The "install" target ("make install") will copy the ee binary to 
# the /usr/local/bin directory on the local system.  The man page (ee.1) 
# will be copied into the /usr/local/man/man1 directory.
#
# The "clean" target ("make clean") will remove the ee and new_curse.o 
# object files, and the ee binary.
#

all :	localmake buildee

buildee :	
	make -f make.local

debianee : localmake	
	make -f make.local curses

localmake:
	@./create.make

install :
	cp ee $(DESTDIR)/usr/bin/ee
	cp ee.1 $(DESTDIR)/usr/man/man1/ee.1

clean :
	rm -f ee.o new_curse.o ee