3 INCLUDES
= -I.
-I..
-I..
/libfat
4 CFLAGS
= -W
-Wall
-D_FILE_OFFSET_BITS
=64 $(OPTFLAGS
) $(INCLUDES
)
7 SRCS
= syslinux.c ..
/syslxmod.c ..
/bootsect_bin.c ..
/ldlinux_bin.c
$(wildcard ..
/libfat
/*.c
)
8 OBJS
= $(patsubst %.c
,%.o
,$(notdir $(SRCS
)))
10 .SUFFIXES
: .c .o .i .s .S
12 VPATH
= .
:..
:..
/libfat
17 -rm -f
*.o
*.i
*.s
*.a .
*.d
20 -rm -f syslinux syslinux-nomtools
25 installer
: syslinux syslinux-nomtools
28 $(CC
) $(LDFLAGS
) -o
$@
$^
30 syslinux-nomtools
: syslinux
34 $(CC
) -Wp
,-MT
,$@
,-MMD
,.
$@.d
$(CFLAGS
) -c
-o
$@
$<
36 $(CC
) $(CFLAGS
) -E
-o
$@
$<
38 $(CC
) $(CFLAGS
) -S
-o
$@
$<