minix/commands/elle/Makefile

31 lines
781 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for elle
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
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
.include <bsd.prog.mk>