vi: use ren_noeol() in vc_replace()
[neatvi.git] / Makefile
blobf46ce5cd3dbf42ee00a74a2a452e59ee78aff46f
1 CC = cc
2 CFLAGS = -Wall -O2
3 LDFLAGS =
5 OBJS = vi.o ex.o lbuf.o sbuf.o ren.o dir.o syn.o reg.o led.o \
6 uc.o term.o rset.o cmd.o conf.o
8 all: vi
10 conf.o: conf.h
12 %.o: %.c
13 $(CC) -c $(CFLAGS) $<
14 vi: $(OBJS)
15 $(CC) -o $@ $(OBJS) $(LDFLAGS)
16 clean:
17 rm -f *.o vi