Take arch+version specific packages List file.
[minix3.git] / commands / m4 / Makefile
blob727efbdae756a0325935f6eeb1ced04ef09b5e6c
1 # Makefile for M4
3 # -DEXTENDED #if you like to get paste & spaste macros.
4 # -DVOID #if your C compiler does NOT support void.
5 # -DGETOPT #if you STILL do not have getopt in your library.
6 # -DDUFFCP #if you do not have fast memcpy in your library.
9 CFLAGS = -DEXTENDED -O -D_POSIX_SOURCE -D_MINIX
10 CC = exec cc
12 OBJ = main.o eval.o serv.o look.o misc.o expr.o
13 INCL = mdef.h extr.h patchlevel.h
15 all: m4
17 m4: $(OBJ) $(INCL)
18 cc -i -o m4 $(OBJ)
19 install -S 4kw m4
21 install: /usr/bin/m4
23 /usr/bin/m4: m4
24 install -cs -o bin m4 $@
26 clean:
27 rm -f *.o m4 core *bak