improve copy_bytes() maintenance
Remove the copy_bytes() function from files.c and util/recover.c and place a single copy into hacklib.
This commit is contained in:
@@ -278,7 +278,7 @@ lintdgn:
|
||||
# dependencies for recover
|
||||
#
|
||||
$(TARGETPFX)recover: $(RECOVOBJS)
|
||||
$(TARGET_CLINK) $(TARGET_LFLAGS) -o recover $(RECOVOBJS) $(LIBS)
|
||||
$(TARGET_CLINK) $(TARGET_LFLAGS) -o recover $(RECOVOBJS) $(HACKLIB) $(LIBS)
|
||||
|
||||
$(TARGETPFX)recover.o: recover.c $(CONFIG_H)
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(CSTD) -c recover.c -o $@
|
||||
|
||||
Reference in New Issue
Block a user