summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2017-06-06 19:42:34 -0400
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2017-06-06 19:42:34 -0400
commit57bc003fcfcd699dc11e7190d88173cc235994d9 (patch)
tree5f83e0f3cbec66c33a41bfbe7fd5393a48ba373b /makefile
parent8c15427214095ab11697a7505e168ada0e33cdbf (diff)
downloadsedt-57bc003fcfcd699dc11e7190d88173cc235994d9.tar.gz
sedt-57bc003fcfcd699dc11e7190d88173cc235994d9.zip
SEDT should now resize when the terminal does when compiled with curses on Linux
Diffstat (limited to 'makefile')
-rw-r--r--[l---------]makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/makefile b/makefile
index dc36abb..58000bf 120000..100644
--- a/makefile
+++ b/makefile
@@ -1 +1,21 @@
-sedt.mak \ No newline at end of file
+OBJECTS=sedt.o edit.o key.o buf.o vdu.o term.o com.o coma.o comb.o comc.o comd.o ent.o file.o text.o text1.o vars.o regexp.o regsub.o unix.o
+
+# Compile with termcap
+#CFLAGS=-O -DUNIX -DTERMCAP -DANSIC -DLINUX
+#LIBES=-ltermcap
+
+# Compile with curses
+CFLAGS=-O0 -g -DUNIX -DANSIC -DLINUX
+LIBES=-lcurses
+
+#CC=owcc
+CC=gcc
+
+
+sedt:$(OBJECTS)
+ $(CC) -fuse-ld=gold $(CFLAGS) $(OBJECTS) $(LIBES) -o sedt
+
+all:sedt
+
+clean:
+ rm -f *.o sedt