diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2017-06-06 19:42:34 -0400 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2017-06-06 19:42:34 -0400 |
| commit | 57bc003fcfcd699dc11e7190d88173cc235994d9 (patch) | |
| tree | 5f83e0f3cbec66c33a41bfbe7fd5393a48ba373b /makefile | |
| parent | 8c15427214095ab11697a7505e168ada0e33cdbf (diff) | |
| download | sedt-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---------] | makefile | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -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 |
