2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for elle
|
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
PROGS= ellec elle
|
|
|
|
SRCS.elle= eemain.c eecmds.c eesite.c eevini.c eedisp.c eeterm.c eeerr.c \
|
|
|
|
eeques.c eebuff.c eefile.c eefed.c eeedit.c eebit.c eef1.c \
|
|
|
|
eef2.c eefd.c eehelp.c eekmac.c eef3.c eesrch.c eequer.c \
|
|
|
|
eefill.c eediag.c sbstr.c sbm.c sberr.c
|
|
|
|
SRCS.ellec= ellec.c
|
2011-06-08 21:19:45 +02:00
|
|
|
CPPFLAGS+= -DIGN_JOB_CONTROl
|
2010-05-12 18:28:54 +02:00
|
|
|
MAN.elle=
|
|
|
|
MAN.ellec=
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2011-06-08 19:59:14 +02:00
|
|
|
.if !empty(CC:Mclang)
|
|
|
|
# tons of int functions don't return values
|
|
|
|
CFLAGS+= -Wreturn-type
|
|
|
|
.endif
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
defprf.c: deffun.e
|
|
|
|
cat deffun.e defprf.e | ellec -Pconf > defprf.c
|
|
|
|
|
|
|
|
eefdef.h: deffun.e
|
|
|
|
cat deffun.e defprf.e | ellec -Fconf > eefdef.h
|
|
|
|
|
|
|
|
eefidx.h: deffun.e
|
|
|
|
cat deffun.e defprf.e | ellec -FXconf > eefidx.h
|
|
|
|
|
|
|
|
# Don't flush these files if interrupted, dammit!
|
|
|
|
.PRECIOUS: ellec deffun.e defprf.e
|
|
|
|
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.prog.mk>
|