summaryrefslogtreecommitdiff
path: root/win32/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-15 20:29:17 +0000
committerhpa <hpa>2004-12-15 20:29:17 +0000
commit77cfe4bb9b00690ab3b87a105eed5c430f97bb18 (patch)
tree83568d4c451d7f11590aee0a6dcf74ee6c1b4a60 /win32/Makefile
parent701f75fe81968cf2dccbffbf2f09bf2b04ea4ad6 (diff)
downloadsyslinux-77cfe4bb9b00690ab3b87a105eed5c430f97bb18.tar.gz
Make the CC_IS_OK hack work again.
Change the private pointer in libfat to an intptr_t; we actually use an integer most of the time so an intptr_t is more convenient.
Diffstat (limited to 'win32/Makefile')
-rw-r--r--win32/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/win32/Makefile b/win32/Makefile
index c0894261..83595365 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -52,18 +52,24 @@ OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS)))
VPATH = .:..:../libfat
-all: installer
+TARGETS = syslinux.exe
+
+ifeq ($(CC_IS_OK),0)
+all: $(TARGETS)
+else
+all:
+ rm -f $(TARGETS)
+endif
tidy:
-rm -f *.o *.i *.s *.a .*.d
clean: tidy
- -rm -f syslinux.exe
spotless: clean
- -rm -f *~
+ -rm -f *~ $(TARGETS)
-installer: syslinux.exe
+installer:
syslinux.exe: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^