summaryrefslogtreecommitdiff
path: root/dos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/dos/Makefile b/dos/Makefile
index f17e4035..7da22fe6 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -20,18 +20,19 @@ LIBOBJS = conio.o memcpy.o memset.o skipatou.o atou.o malloc.o free.o \
VPATH = .:..:../libfat
-all: installer
+TARGETS = syslinux.com
+
+all: $(TARGETS)
tidy:
-rm -f *.o *.i *.s *.a .*.d *.elf
clean: tidy
- -rm -f syslinux.com
spotless: clean
- -rm -f *~
+ -rm -f *~ $(TARGETS)
-installer: syslinux.com
+installer:
syslinux.elf: $(OBJS) libcom.a
$(LD) $(LDFLAGS) -o $@ $^