summaryrefslogtreecommitdiff
path: root/unix/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-16 02:51:29 +0000
committerhpa <hpa>2004-12-16 02:51:29 +0000
commit8549be634852225b15b19a55db884f5716277b77 (patch)
treeb13508d5bfbab0a39012b9be2642d5461fda6e76 /unix/Makefile
parenteb4cb3206a7fe625b2f2494df2706f134f15440c (diff)
downloadsyslinux-8549be634852225b15b19a55db884f5716277b77.tar.gz
malloc.h is internal; put in lib/
Fix "make clean" for unix installer
Diffstat (limited to 'unix/Makefile')
-rw-r--r--unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 12c5cf9d..39b25c00 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -17,7 +17,7 @@ tidy:
-rm -f *.o *.i *.s *.a .*.d
clean: tidy
- -rm -f syslinux
+ -rm -f syslinux syslinux-nomtools
spotless: clean
-rm -f *~
@@ -28,7 +28,7 @@ syslinux: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
syslinux-nomtools: syslinux
- cp -f $< $@
+ ln -f $< $@
%.o: %.c
$(CC) -Wp,-MT,$@,-MMD,.$@.d $(CFLAGS) -c -o $@ $<