File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010# ### Programs used by this Makefile ############################################
1111CC := sdcc# C compiler: creates object files (.rel) from C files (.c)
1212AS := sdas8051# Assembler: creates object files (.rel) from assembly files (.s)
13- AR := sdcclib # Librarian: creates .lib
13+ AR := sdar # Librarian: creates .lib
1414LD := sdld# Linker: creates .hex files from .rel/.lib files)
1515PACKIHX := packihx# makes .hex files smaller
1616MV := move# moves files
@@ -156,13 +156,13 @@ clean:
156156ifdef VERBOSE
157157COMPILE_COMMAND = $(CC ) -c $< $(C_FLAGS ) -o $@
158158ASSEMBLE_COMMAND = $(AS ) -glos $(AS_FLAGS ) $<
159- ARCHIVE_COMMAND = $(AR ) $@ $^
159+ ARCHIVE_COMMAND = $(AR ) -rc $@ $^
160160LINK_COMMAND = $(CC ) $(LD_FLAGS ) libraries/xpage/xpage.rel $^
161161else
162162V =@
163163COMPILE_COMMAND = @echo Compiling $@ && $(CC ) -c $< $(C_FLAGS ) -o $@
164164ASSEMBLE_COMMAND = @echo Assembling $@ && $(AS ) -glos $(AS_FLAGS ) $<
165- ARCHIVE_COMMAND = @echo Creating $@ && $(AR ) $@ $^
165+ ARCHIVE_COMMAND = @echo Creating $@ && $(AR ) -rc $@ $^
166166LINK_COMMAND = @echo Linking $@ && $(CC ) $(LD_FLAGS ) libraries/xpage/xpage.rel $^
167167endif
168168
You can’t perform that action at this time.
0 commit comments