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
/setadv.c \
13 ..
/libinstaller
/bootsect_bin.c \
14 ..
/libinstaller
/ldlinux_bin.c \
15 $(wildcard ..
/libfat
/*.c
)
16 OBJS
= $(patsubst %.c
,%.o
,$(notdir $(SRCS
)))
18 .SUFFIXES
: .c .o .i .s .S
20 VPATH
= .
:..
/libfat
:..
/libinstaller
25 -rm -f
*.o
*.i
*.s
*.a .
*.d
*.tmp
36 $(CC
) $(LDFLAGS
) -o
$@
$^
39 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -c
-o
$@
$<
41 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -E
-o
$@
$<
43 $(CC
) $(UMAKEDEPS
) $(CFLAGS
) -S
-o
$@
$<