2021-01-05 21:13:43 +00:00
|
|
|
include ../../Makefile.inc
|
2016-03-11 19:37:48 +00:00
|
|
|
|
|
|
|
all: dos33 mkdos33fs make_b \
|
2020-08-20 16:50:46 +00:00
|
|
|
dos33_raw \
|
2016-03-11 19:37:48 +00:00
|
|
|
dos33_text2ascii char2hex
|
|
|
|
|
|
|
|
|
|
|
|
char2hex: char2hex.o
|
|
|
|
$(CC) $(LFLAGS) -o char2hex char2hex.o
|
|
|
|
|
|
|
|
char2hex.o: char2hex.c
|
|
|
|
$(CC) $(CFLAGS) -c char2hex.c
|
|
|
|
|
2020-08-20 16:50:46 +00:00
|
|
|
###
|
|
|
|
|
2016-03-11 19:37:48 +00:00
|
|
|
dos33: dos33.o
|
|
|
|
$(CC) $(LFLAGS) -o dos33 dos33.o
|
|
|
|
|
|
|
|
dos33.o: dos33.c dos33.h
|
2016-12-13 21:57:02 +00:00
|
|
|
$(CC) $(CFLAGS) -g -c dos33.c
|
2016-03-11 19:37:48 +00:00
|
|
|
|
2020-08-20 16:50:46 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
dos33_raw: dos33_raw.o
|
|
|
|
$(CC) $(LFLAGS) -o dos33_raw dos33_raw.o
|
|
|
|
|
|
|
|
dos33_raw.o: dos33_raw.c
|
|
|
|
$(CC) $(CFLAGS) -g -c dos33_raw.c
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2016-03-11 19:37:48 +00:00
|
|
|
dos33_text2ascii: dos33_text2ascii.o
|
|
|
|
$(CC) $(LFLGAS) -o dos33_text2ascii dos33_text2ascii.o
|
|
|
|
|
|
|
|
dos33_text2ascii.o: dos33_text2ascii.c
|
|
|
|
$(CC) $(CFLAGS) -c dos33_text2ascii.c
|
|
|
|
|
|
|
|
make_b: make_b.o
|
|
|
|
$(CC) $(LFLAGS) -o make_b make_b.o
|
|
|
|
|
|
|
|
make_b.o: make_b.c
|
|
|
|
$(CC) $(CFLAGS) -c make_b.c
|
|
|
|
|
|
|
|
mkdos33fs: mkdos33fs.o
|
|
|
|
$(CC) $(LFLAGS) -o mkdos33fs mkdos33fs.o
|
|
|
|
|
|
|
|
mkdos33fs.o: mkdos33fs.c dos33.h
|
|
|
|
$(CC) $(CFLAGS) -c mkdos33fs.c
|
|
|
|
|
|
|
|
|
|
|
|
install:
|
2020-08-20 16:50:46 +00:00
|
|
|
cp dos33 dos33_raw mkdos33fs make_b dos33_text2ascii char2hex $(INSTALL_LOC)
|
2016-03-11 19:37:48 +00:00
|
|
|
|
|
|
|
clean:
|
2020-08-20 16:50:46 +00:00
|
|
|
rm -f *~ *.o dos33 dos33_raw mkdos33fs make_b dos33_text2ascii char2hex
|
2016-03-11 21:19:04 +00:00
|
|
|
cd tests && make clean
|