dos33fsprogs/dos33fs-utils/Makefile
Vince Weaver 2305c15ee4 split up into subprojects
sorry anyone who was maintaining patches against this or had hardcoded
paths
2016-03-11 14:37:48 -05:00

43 lines
897 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) -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