-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (23 loc) · 812 Bytes
/
Makefile
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
# 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
localmake:
@./create.make
install :
install -Dm755 ee $(DESTDIR)/usr/bin/ee
install -Dm644 ee.1 $(DESTDIR)/usr/share/man/man1/ee.1
clean :
rm -f ee.o new_curse.o ee