-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathlinux.mak
More file actions
37 lines (23 loc) · 769 Bytes
/
linux.mak
File metadata and controls
37 lines (23 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#_ linux.mak
#FLGS=-g -DDEBUG
FLGS=-O
#LDFLG=
LDFLG=-s
CC=gcc
CFLAGS = -w $(FLGS) -DLINUX -DXTERM
SRC= ansi.c basic.c buffer.c display.c file.c fileio.c line.c main.c \
random.c region.c search.c spawn.c xterm.c termio.c vt52.c \
window.c word.c more.c mouse.c keypress.c screen.c url.c browse.c
OBJ= ansi.o basic.o buffer.o display.o file.o fileio.o line.o main.o \
random.o region.o search.o spawn.o xterm.o termio.o vt52.o \
window.o word.o more.o mouse.o url.o browse.o
SOURCE= ed.h $(SRC) linux.mak me.html disprev.c
melinux : $(OBJ) linux.mak
cc $(CFLAGS) -c disprev.c
cc $(LDFLG) $(FLGS) -o melinux $(OBJ) disprev.o
tags: $(SRC)
ctags $(SRC)
me.zip : $(SOURCE)
zip me $(SOURCE)
keypress : keypress.c
$(CC) $(CFLAGS) keypress.c -o keypress