History

Simplify the make rules for creating libraries

Martin Storsjö committed 12 years ago

Commit ea8a0021 parent 33fe2b56 files · +12 −12Browse files

Showing the changes to codec/decoder (1 of 6 files). Show all

Unified · Split

codec/decoder/targets.mk+2−2
@@ -42,8 +42,8 @@ $(DECODER_SRCDIR)/%.o: $(DECODER_SRCDIR)/%.asm · 41 unmodified lines
4242 $(ASM) $(ASMFLAGS) $(ASM_INCLUDES) $(DECODER_ASMFLAGS) $(DECODER_ASM_INCLUDES) -o $@ $<
4343
4444 $(LIBPREFIX)decoder.$(LIBSUFFIX): $(DECODER_OBJS)
45− rm -f $(LIBPREFIX)decoder.$(LIBSUFFIX)
46− $(AR) $(AR_OPTS) $(DECODER_OBJS)
45+ rm -f $@
46+ $(AR) $(AR_OPTS) $+
4747
4848 libraries: $(LIBPREFIX)decoder.$(LIBSUFFIX)
4949 LIBRARIES += $(LIBPREFIX)decoder.$(LIBSUFFIX)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t