source: trunk/minix/commands/m4/Makefile@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 565 bytes
Line 
1# Makefile for M4
2
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.
7#
8
9CFLAGS = -DEXTENDED -O -D_POSIX_SOURCE -D_MINIX
10CC = exec cc
11
12OBJ = main.o eval.o serv.o look.o misc.o expr.o
13INCL = mdef.h extr.h patchlevel.h
14
15all: m4
16
17m4: $(OBJ) $(INCL)
18 cc -i -o m4 $(OBJ)
19 install -S 4kw m4
20
21install: /usr/bin/m4
22
23/usr/bin/m4: m4
24 install -cs -o bin m4 $@
25
26clean:
27 rm -f *.o m4 core *bak
Note: See TracBrowser for help on using the repository browser.