From 8c15427214095ab11697a7505e168ada0e33cdbf Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Tue, 14 Jun 2016 20:53:27 -0400 Subject: Fixed building with modern curses. Added Watcom makefile for Linux only. --- makefile.wat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 makefile.wat (limited to 'makefile.wat') diff --git a/makefile.wat b/makefile.wat new file mode 100644 index 0000000..d02b392 --- /dev/null +++ b/makefile.wat @@ -0,0 +1,21 @@ +CC=owcc + +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 -I/opt/owroot/include +LIBES=-L/opt/owroot/lib -llibtermcap + +.EXTENSIONS: +.EXTENSIONS: .o .c + +.c.o: + $(CC) -c $(CFLAGS) -o $@ $< + +sedt: $(OBJECTS) + $(CC) $(CFLAGS) $(OBJECTS) $(LIBES) -o sedt + +all: sedt + +clean: .SYMBOLIC + rm -f *.o sedt -- cgit v1.2.3