]> git.saurik.com Git - apple/boot.git/blame_incremental - i386/util/Makefile
boot-132.tar.gz
[apple/boot.git] / i386 / util / Makefile
... / ...
CommitLineData
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
14
15OPTIM = -Os -Oz
16CFLAGS = $(RC_CFLAGS) $(OPTIM) -Wmost -Werror -g
17LDFLAGS =
18CFILES = machOconv.c
19ALLSRC = $(CFILES) $(MFILES) $(HFILES) $(EXPORT_HFILES)
20
21PROGRAMS = machOconv
22
23OUTFILES = $(PROGRAMS)
24
25DIRS_NEEDED = $(OBJROOT) $(SYMROOT) $(LANGDIR)
26
27all: $(DIRS_NEEDED) $(PROGRAMS)
28
29clean::
30 -(cd $(SYMROOT); rm -f $(PROGRAMS))
31
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