]> git.saurik.com Git - apple/boot.git/blame - i386/util/Makefile
boot-132.tar.gz
[apple/boot.git] / i386 / util / Makefile
CommitLineData
14c7c974
A
1#
2# Until I can remove the dependency on the appkit,
3# we'll just keep the generated files in this directory
4# and install them directly, rather than generating them again.
5#
6
7DIR = util
8include ../MakePaths.dir
9
10VPATH = $(OBJROOT):$(SYMROOT)
11
12INSTALLDIR = $(DSTROOT)/usr/standalone/i386
13LOCALBIN = $(DSTROOT)/usr/local/bin
14c7c974 14
bba600dd 15OPTIM = -Os -Oz
57c72a9a
A
16CFLAGS = $(RC_CFLAGS) $(OPTIM) -Wmost -Werror -g
17LDFLAGS =
18CFILES = machOconv.c
14c7c974
A
19ALLSRC = $(CFILES) $(MFILES) $(HFILES) $(EXPORT_HFILES)
20
14c7c974
A
21PROGRAMS = machOconv
22
57c72a9a 23OUTFILES = $(PROGRAMS)
14c7c974 24
f083c6c3 25DIRS_NEEDED = $(OBJROOT) $(SYMROOT) $(LANGDIR)
14c7c974 26
57c72a9a 27all: $(DIRS_NEEDED) $(PROGRAMS)
14c7c974 28
14c7c974
A
29clean::
30 -(cd $(SYMROOT); rm -f $(PROGRAMS))
31
14c7c974
A
32machOconv: machOconv.o
33 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$(@F) machOconv.o
34
35include ../MakeInc.dir
36
37#dependencies
38-include $(OBJROOT)/Makedep
39