mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
generalize .S compilation target flags
This commit is contained in:
parent
5cb68df9e2
commit
2c744bc1e8
@ -26,7 +26,7 @@ $(BINDIR)%.o: %.s
|
||||
@$(AS) $(ASFLAGS) $*.s -o $(BINDIR)$*.o
|
||||
|
||||
$(BINDIR)%.o: %.S
|
||||
@gcc -c -m32 $*.S -o $(BINDIR)$*.o
|
||||
@gcc -c $(CFLAGS) $*.S -o $(BINDIR)$*.o
|
||||
|
||||
# remove compilation products
|
||||
clean::
|
||||
|
Loading…
Reference in New Issue
Block a user