3 INCLUDES = -I. -I.. -I../libfat
4 CFLAGS = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
7 SRCS = extlinux.c ../extlinux_bss_bin.c ../extlinux_sys_bin.c
8 OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS)))
10 .SUFFIXES: .c .o .i .s .S
17 -rm -f *.o *.i *.s *.a .*.d
28 $(CC) $(LDFLAGS) -o $@ $^
31 $(CC) -Wp,-MT,$@,-MMD,.$@.d $(CFLAGS) -c -o $@ $<
33 $(CC) $(CFLAGS) -E -o $@ $<
35 $(CC) $(CFLAGS) -S -o $@ $<