1 include $(MAKEDIR
)/syslinux.mk
4 INCLUDES
= -I
$(SRC
) -I
$(objdir
) -I
$(SRC
)/..
/libfat
-I
$(SRC
)/..
/libinstaller
5 CFLAGS
= $(GCCWARN
) -D_FILE_OFFSET_BITS
=64 $(OPTFLAGS
) $(INCLUDES
)
10 ..
/libinstaller
/syslxmod.c \
11 ..
/libinstaller
/syslxopt.c \
12 ..
/libinstaller
/setadv.c \
13 ..
/libinstaller
/bootsect_bin.c \
14 ..
/libinstaller
/ldlinux_bin.c \
15 ..
/libinstaller
/ldlinuxc32_bin.c \
16 $(wildcard $(SRC
)/..
/libfat
/*.c
)
17 OBJS
= $(patsubst %.c
,%.o
,$(notdir $(SRCS
)))
19 .SUFFIXES
: .c .o .i .s .S
21 VPATH
= $(SRC
):$(SRC
)/..
/libfat
:$(SRC
)/..
/libinstaller
:$(OBJ
)/..
/libinstaller
26 -rm -f
*.o
*.i
*.s
*.a .
*.d
*.tmp
37 $(CC
) $(LDFLAGS
) -o
$@
$^
43 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -c
-o
$@
$<
45 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -E
-o
$@
$<
47 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -S
-o
$@
$<