aboutsummaryrefslogtreecommitdiffstats
path: root/text_cmds/ee
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-12 17:31:30 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-12 17:31:30 -0400
commit7171a7ba0a0ea8d9b7216d9aae16539948222702 (patch)
treef20aab7b4f208c331334a4a94c89abe4b48a9ea7 /text_cmds/ee
parent68311c8bb2e7f974b5b91ad61f85980f432f2d7f (diff)
downloadapple_cmds-7171a7ba0a0ea8d9b7216d9aae16539948222702.tar.gz
apple_cmds-7171a7ba0a0ea8d9b7216d9aae16539948222702.tar.zst
apple_cmds-7171a7ba0a0ea8d9b7216d9aae16539948222702.zip
text_cmds: All done
Diffstat (limited to 'text_cmds/ee')
-rw-r--r--text_cmds/ee/Makefile34
1 files changed, 8 insertions, 26 deletions
diff --git a/text_cmds/ee/Makefile b/text_cmds/ee/Makefile
index a6525ea..c870b40 100644
--- a/text_cmds/ee/Makefile
+++ b/text_cmds/ee/Makefile
@@ -1,29 +1,11 @@
-# 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.
-#
+# $FreeBSD$
-all : localmake buildee
+CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
+ -DHAS_SYS_WAIT
-buildee :
- make -f make.local
-
-localmake:
- @./create.make
-
-install :
- cp ee /usr/local/bin/ee
- cp ee.1 /usr/local/man/man1/ee.1
-
-clean :
- rm -f ee.o new_curse.o ee
+PROG= ee
+LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
+MLINKS= ee.1 ree.1 ee.1 edit.1
+LDADD+=-lncursesw
+.include <bsd.prog.mk>