diff options
author | hpa <hpa> | 2004-12-22 17:53:54 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-22 17:53:54 +0000 |
commit | 5aa850e10e2a8463d49b438458c78d0c8c929b36 (patch) | |
tree | 20b25c414272ff34914bdd71f4e05d6907ded85e /win32/Makefile | |
parent | 72d098b31e57e5ae81d9a4923608f12014c1d36f (diff) | |
download | syslinux-5aa850e10e2a8463d49b438458c78d0c8c929b36.tar.gz syslinux-5aa850e10e2a8463d49b438458c78d0c8c929b36.tar.xz syslinux-5aa850e10e2a8463d49b438458c78d0c8c929b36.zip |
Add MBR-writing options to the Win32 installer. Probably should besyslinux-3.00-pre3
added to the DOS installer at some point, too.
Diffstat (limited to 'win32/Makefile')
-rw-r--r-- | win32/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/Makefile b/win32/Makefile index 3c335b79..cb9ee780 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -47,7 +47,8 @@ CC_IS_GOOD := $(shell $(CC) $(CFLAGS) $(LDFLAGS) -o hello.exe hello.c >/dev/null .SUFFIXES: .c .o .i .s .S -SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c $(wildcard ../libfat/*.c) +SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c \ + ../mbr_bin.c $(wildcard ../libfat/*.c) OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS))) VPATH = .:..:../libfat @@ -62,7 +63,7 @@ all: endif tidy: - -rm -f *.o *.i *.s *.a .*.d + -rm -f *.o *.i *.s *.a .*.d *_bin.c clean: tidy @@ -74,6 +75,7 @@ installer: syslinux.exe: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ + %.o: %.c $(CC) -Wp,-MT,$@,-MMD,.$@.d $(CFLAGS) -c -o $@ $< %.i: %.c |