From 512dece2f48ceefd97b830bc6a64645e60db8986 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Wed, 2 May 2012 10:55:35 -0400 Subject: [PATCH] Update Makefile to handle char2hex Although not sure if it's worth keeping --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 85bfc5bd..45426c6f 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CFLAGS = -O2 -Wall LFLAGS = all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft \ - dos33_text2ascii integer_detoken + dos33_text2ascii integer_detoken char2hex @@ -25,6 +25,12 @@ tokenize_asoft: tokenize_asoft.o tokenize_asoft.o: tokenize_asoft.c $(CC) $(CFLAGS) -c tokenize_asoft.c +char2hex: char2hex.o + $(CC) $(LFLAGS) -o char2hex char2hex.o + +char2hex.o: char2hex.c + $(CC) $(CFLAGS) -c char2hex.c + dos33: dos33.o $(CC) $(LFLAGS) -o dos33 dos33.o @@ -55,5 +61,5 @@ install: cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b dos33_text2ascii integer_detoken /usr/local/bin clean: - rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs tokenize_asoft dos33_text2ascii integer_detoken + rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs tokenize_asoft dos33_text2ascii integer_detoken char2hex cd tests && make clean