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:
@@ -523,7 +523,7 @@ recover: $(RTARGETS)
|
||||
$(GAMEDIR)/recover.txt: $(DOC)/recover.txt | $(GAMEDIR)
|
||||
cp $< $@
|
||||
|
||||
$(GAMEDIR)/recover.exe: $(ROBJS) | $(GAMEDIR)
|
||||
$(GAMEDIR)/recover.exe: $(ROBJS) $(HLHACKLIB) | $(GAMEDIR)
|
||||
$(ld) $(LDFLAGS) $^ -o$@
|
||||
|
||||
$(OR)/recover.o: $(U)recover.c | $(OR)
|
||||
|
||||
Reference in New Issue
Block a user