diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2016-06-14 20:53:27 -0400 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2016-06-14 20:53:27 -0400 |
| commit | 8c15427214095ab11697a7505e168ada0e33cdbf (patch) | |
| tree | 9ebf97eb587587039df5290b20eb3778c0b6ef17 /makefile.wat | |
| parent | 6d6bb88a0215b87a4a47ed86a84ae3c75d399962 (diff) | |
| download | sedt-8c15427214095ab11697a7505e168ada0e33cdbf.tar.gz sedt-8c15427214095ab11697a7505e168ada0e33cdbf.zip | |
Fixed building with modern curses. Added Watcom makefile for Linux only.
Diffstat (limited to 'makefile.wat')
| -rw-r--r-- | makefile.wat | 21 |
1 files changed, 21 insertions, 0 deletions
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 |
