4 CFLAGS
= -O
-DIGN_JOB_CONTROL
-D_POSIX_SOURCE
-wa
9 OBJ
= eemain.o eecmds.o eesite.o eevini.o eedisp.o eeterm.o eeerr.o \
10 eeques.o eebuff.o eefile.o eefed.o eeedit.o eebit.o eef1.o \
11 eef2.o eefd.o eehelp.o eekmac.o eef3.o eesrch.o eequer.o \
12 eefill.o eediag.o sbstr.o sbm.o sberr.o sbbcpy.o
14 # It probably isn't necessary to make all this stuff all the time, but it
15 # is fairly easy and makes the whole process simpler. If this is not done,
16 # the dependencies are very complicated because some of the .c and .h files
17 # are made dynamically.
18 elle
: ellec
$(OBJ
) $(FUN_OFILES
) elle.h eesite.h
19 # $(CC) $(CFLAGS) -c defprf.c # depends on the new *.h files
20 $(CC
) $(LDFLAGS
) -o
$@
$(OBJ
)
24 cat deffun.e defprf.e | ellec
-Pconf
> defprf.c
27 cat deffun.e defprf.e | ellec
-Fconf
> eefdef.h
30 cat deffun.e defprf.e | ellec
-FXconf
> eefidx.h
32 # Don't flush these files if interrupted, dammit!
33 .PRECIOUS
: ellec deffun.e defprf.e
35 # The following files must be recompiled if eefidx.h is changed
36 eecmds.o eebuff.o eeerr.o eehelp.o eejust.o eemain.o eeques.o eef1.o
: eefidx.h
38 # ELLE profile compiler.
39 # Although eefdef.h and defprf.c are included by ELLEC, they
40 # are not listed as dependencies in order to avoid loops (see
41 # their target entries). That is OK because their information is not
42 # used when generating the makecf files; it only furnishes default
43 # values needed when an ELLE user compiles a user profile.
45 $(CC
) $(LDFLAGS
) $(CFLAGS
) -o
$@ ellec.c
48 install: /usr
/bin
/elle
/usr
/bin
/ellec
51 install -cs
-o bin elle
$@
54 install -cs
-o bin ellec
$@
57 rm -f
*.o
*.bak core elle ellec