4 |
|
# |
5 |
|
|
6 |
|
OPT = -O |
7 |
< |
MACH = -DSTRUCTASSIGN -DBSD |
7 |
> |
MACH = -DBSD |
8 |
|
CFLAGS = $(MACH) $(OPT) -I../common -L../lib |
9 |
|
SPECIAL = aed |
10 |
|
CC = cc |
11 |
|
LINT = lint |
12 |
< |
LINTFLAGS = -DSTRUCTASSIGN -DBSD -DIEEE -DVARIABLE -DFUNCTION \ |
13 |
< |
-DINCHAN -DRCONST -DREDEFW -DBIGLIB |
12 |
> |
LINTFLAGS = -DBSD -DVARIABLE -DFUNCTION \ |
13 |
> |
-DINCHAN -DRCONST -DREDEFW |
14 |
|
|
15 |
|
# |
16 |
|
# The following are user-definable: |
99 |
|
|
100 |
|
aed: $(DEVDIR)/aed |
101 |
|
|
102 |
+ |
sgi: $(DEVDIR)/news |
103 |
+ |
|
104 |
|
tiff: |
105 |
|
|
106 |
|
clean: |
140 |
|
$(CC) $(CFLAGS) -s -o $(DEVDIR)/aed aed.o colortab.o \ |
141 |
|
devmain.o tty.o editline.o $(LIBS) |
142 |
|
|
143 |
+ |
$(DEVDIR)/news: nwsdev.o devmain.o editline.o |
144 |
+ |
$(CC) $(CFLAGS) -s -o $(DEVDIR)/news nwsdev.o devmain.o editline.o \ |
145 |
+ |
-lcps $(LIBS) |
146 |
+ |
|
147 |
|
# |
148 |
|
# Special compiles: |
149 |
|
# |
196 |
|
$(CC) $(CFLAGS) -DFUNCTION -DREDEFW -c caldefn.c |
197 |
|
|
198 |
|
nwsdev.o: nwsdev.c nwsdev.h newsconstants.h |
199 |
< |
$(CC) $(CFLAGS) -c nwsdev.c |
199 |
> |
$(CC) $(CFLAGS) -Dnws_init=dinit -c nwsdev.c |
200 |
|
|
201 |
|
nwsdev.h: nwsdev.cps newsconstants.h |
202 |
|
cps nwsdev.cps |