# Makefile for M4 # -DEXTENDED #if you like to get paste & spaste macros. # -DVOID #if your C compiler does NOT support void. # -DGETOPT #if you STILL do not have getopt in your library. # -DDUFFCP #if you do not have fast memcpy in your library. # CFLAGS = -DEXTENDED -D_MINIX $(OPT) OBJ = main.o eval.o serv.o look.o misc.o expr.o INCL = mdef.h extr.h patchlevel.h m4: $(OBJ) cc -fnone -o m4 $(OBJ) $(OBJ): $(INCL) install: /usr/bin/m4 /usr/man/man9/m4.9 /usr/bin/m4: m4 install -lc m4 $@ /usr/man/man9/m4.9: m4.9 install -lc $? $@ clean: rm -f *.o m4 core *bak