summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 329066b..17097e3 100644
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,11 @@ CC = gcc
CFLAGS = -g -O -Wall -D_FILE_OFFSET_BITS=64 $(SYSLXFLAGS)
LDFLAGS = -g
LIBS =
+PERL = perl
OBJS = alloc.o dirtree.o main.o xmalloc.o xstdio.o genfat.o \
clustparm.o writedir.o writefile.o writechain.o writefs.o \
- gensuper.o date.o syslinux.o getgeo.o
+ gensuper.o date.o syslinux.o getgeo.o cp437.o
SRCS = alloc.c dirtree.c main.c xmalloc.c xstdio.c genfat.c \
clustparm.c writedir.c writefile.c writechain.c writefs.c \
gensuper.c date.c syslinux.c getgeo.c
@@ -45,6 +46,9 @@ genfatimage: $(OBJS) $(SYSLXLIB)
getgeo: getgeo.c
$(CC) $(CFLAGS) $(LDFLAGS) -DSTANDALONE -o $@ $< $(LIBS)
+cp437.c: CP437.TXT unitbl.pl
+ $(PERL) unitbl.pl < CP437.TXT > $@ || rm -f $@
+
clean:
rm -f *.o genfatimage getgeo