Skip to content

Commit 30a2384

Browse files
committed
replace sdcclib with sdar. sdcclib was removed in sdcc 3.9.0 after pololu#10
1 parent 6df2ed7 commit 30a2384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#### Programs used by this Makefile ############################################
1111
CC := sdcc# C compiler: creates object files (.rel) from C files (.c)
1212
AS := sdas8051# Assembler: creates object files (.rel) from assembly files (.s)
13-
AR := sdcclib# Librarian: creates .lib
13+
AR := sdar# Librarian: creates .lib
1414
LD := sdld# Linker: creates .hex files from .rel/.lib files)
1515
PACKIHX := packihx# makes .hex files smaller
1616
MV := move# moves files
@@ -156,13 +156,13 @@ clean:
156156
ifdef VERBOSE
157157
COMPILE_COMMAND = $(CC) -c $< $(C_FLAGS) -o $@
158158
ASSEMBLE_COMMAND = $(AS) -glos $(AS_FLAGS) $<
159-
ARCHIVE_COMMAND = $(AR) $@ $^
159+
ARCHIVE_COMMAND = $(AR) -rc $@ $^
160160
LINK_COMMAND = $(CC) $(LD_FLAGS) libraries/xpage/xpage.rel $^
161161
else
162162
V=@
163163
COMPILE_COMMAND = @echo Compiling $@ && $(CC) -c $< $(C_FLAGS) -o $@
164164
ASSEMBLE_COMMAND = @echo Assembling $@ && $(AS) -glos $(AS_FLAGS) $<
165-
ARCHIVE_COMMAND = @echo Creating $@ && $(AR) $@ $^
165+
ARCHIVE_COMMAND = @echo Creating $@ && $(AR) -rc $@ $^
166166
LINK_COMMAND = @echo Linking $@ && $(CC) $(LD_FLAGS) libraries/xpage/xpage.rel $^
167167
endif
168168

0 commit comments

Comments
 (0)