Makefile.pc
382 Bytes
%.o:%.c
gcc -c -g -fpack-struct $*.c
TARGETS= byte2lba.out
CFILES = byte2lba.c table.c
OBJECTS = $(CFILES:.c=.o)
default: $(TARGETS)
install: default
cp *.out c:\ultra\usr\sbin\
#table.c: maketbl.out
# exew32 ./maketbl >table.c
maketbl.out: maketbl.o
gcc -o $*.out $*.o
byte2lba.out: $(OBJECTS)
gcc -o $*.out $(OBJECTS)
command.com /C copy byte2lba.out lba2byte.out