mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-19 14:29:25 +00:00
44 lines
925 B
Makefile
44 lines
925 B
Makefile
include ../Makefile.inc
|
|
|
|
all: dos33 mkdos33fs make_b \
|
|
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_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 mkdos33fs make_b dos33_text2ascii char2hex $(INSTALL_LOC)
|
|
|
|
clean:
|
|
rm -f *~ *.o dos33 mkdos33fs make_b dos33_text2ascii char2hex
|
|
cd tests && make clean
|