1 # $Id: Makefile,v 1.4 1996/08/01 02:19:40 paul Exp $
2
3 LIB = $(MX_LIB)
4 LDFLAGS = -dn -e crt_server
5 CFLAGS = -ansi -Wall
6 MAKE= exec make -$(MAKEFLAGS)
7 PROGRAMS= ../kernel/kernel ../mm/mm ../fs/fs ../inet/inet init
8
9 image: programs
10 minix_combine
11
12 programs: init
13 cd ../kernel && $(MAKE)
14 cd ../mm && $(MAKE)
15 cd ../fs && $(MAKE)
16 cd ../inet && $(MAKE)
17
18 clean:
19 rm -f *.o init init.elf image
20
21
22 init: init.o $(LIB)/libc.a $(LIB)/head.o
23 $(LD) $(LDFLAGS) -o init.elf $(LIB)/head.o init.o $(LIB)/libc.a
24 elf2smx -S 4kw init.elf init
25 rm init.elf
26
27 init.o: init.c
28 mcc -c $(CFLAGS) -D_MINIX -D_POSIX_SOURCE init.c
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.