2 include $(topdir
)/MCONFIG
5 INCLUDES
= -I.
-I..
-I..
/libfat
-I..
/libinstaller
6 CFLAGS
= $(GCCWARN
) -D_FILE_OFFSET_BITS
=64 $(OPTFLAGS
) $(INCLUDES
)
10 ..
/libinstaller
/fat.c \
11 ..
/libinstaller
/syslxmod.c \
12 ..
/libinstaller
/syslxopt.c \
13 ..
/libinstaller
/setadv.c \
14 ..
/libinstaller
/bootsect_bin.c \
15 ..
/libinstaller
/ldlinux_bin.c \
16 $(wildcard ..
/libfat
/*.c
)
17 OBJS
= $(patsubst %.c
,%.o
,$(notdir $(SRCS
)))
19 .SUFFIXES
: .c .o .i .s .S
21 VPATH
= .
:..
/libfat
:..
/libinstaller
26 -rm -f
*.o
*.i
*.s
*.a .
*.d
*.tmp
37 $(CC
) $(LDFLAGS
) -o
$@
$^
40 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -c
-o
$@
$<
42 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -E
-o
$@
$<
44 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -S
-o
$@
$<