mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-04 14:35:41 +00:00
Update Makefile to handle char2hex
Although not sure if it's worth keeping
This commit is contained in:
parent
098d6a53f4
commit
512dece2f4
10
Makefile
10
Makefile
@ -3,7 +3,7 @@ CFLAGS = -O2 -Wall
|
|||||||
LFLAGS =
|
LFLAGS =
|
||||||
|
|
||||||
all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft \
|
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
|
tokenize_asoft.o: tokenize_asoft.c
|
||||||
$(CC) $(CFLAGS) -c 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
|
dos33: dos33.o
|
||||||
$(CC) $(LFLAGS) -o 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
|
cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b dos33_text2ascii integer_detoken /usr/local/bin
|
||||||
|
|
||||||
clean:
|
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
|
cd tests && make clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user