mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 20:06:09 +00:00
57 lines
1.1 KiB
Makefile
57 lines
1.1 KiB
Makefile
include ../../Makefile.inc
|
|
|
|
all: dos33 mkdos33fs make_b \
|
|
dos33_raw \
|
|
dos33_text2ascii char2hex
|
|
|
|
|
|
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
|
|
|
|
dos33.o: dos33.c dos33.h
|
|
$(CC) $(CFLAGS) -g -c dos33.c
|
|
|
|
###
|
|
|
|
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
|
|
|
|
###
|
|
|
|
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:
|
|
cp dos33 dos33_raw mkdos33fs make_b dos33_text2ascii char2hex $(INSTALL_LOC)
|
|
|
|
clean:
|
|
rm -f *~ *.o dos33 dos33_raw mkdos33fs make_b dos33_text2ascii char2hex
|
|
cd tests && make clean
|