]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | DIR = util | |
8 | include ../MakePaths.dir | |
9 | ||
10 | VPATH = $(OBJROOT):$(SYMROOT) | |
11 | ||
12 | INSTALLDIR = $(DSTROOT)/usr/standalone/i386 | |
13 | LOCALBIN = $(DSTROOT)/usr/local/bin | |
14c7c974 | 14 | |
bba600dd | 15 | OPTIM = -Os -Oz |
57c72a9a A |
16 | CFLAGS = $(RC_CFLAGS) $(OPTIM) -Wmost -Werror -g |
17 | LDFLAGS = | |
18 | CFILES = machOconv.c | |
14c7c974 A |
19 | ALLSRC = $(CFILES) $(MFILES) $(HFILES) $(EXPORT_HFILES) |
20 | ||
14c7c974 A |
21 | PROGRAMS = machOconv |
22 | ||
57c72a9a | 23 | OUTFILES = $(PROGRAMS) |
14c7c974 | 24 | |
f083c6c3 | 25 | DIRS_NEEDED = $(OBJROOT) $(SYMROOT) $(LANGDIR) |
14c7c974 | 26 | |
57c72a9a | 27 | all: $(DIRS_NEEDED) $(PROGRAMS) |
14c7c974 | 28 | |
14c7c974 A |
29 | clean:: |
30 | -(cd $(SYMROOT); rm -f $(PROGRAMS)) | |
31 | ||
14c7c974 A |
32 | machOconv: machOconv.o |
33 | $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$(@F) machOconv.o | |
34 | ||
35 | include ../MakeInc.dir | |
36 | ||
37 | #dependencies | |
38 | -include $(OBJROOT)/Makedep | |
39 |