openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

Makefile (487B)


      1 # 
      2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3 # 
      4 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      5 #
      6 # Compile sample LED driver programs
      7 #
      8 #
      9 .KEEP_STATE:
     10 
     11 .SUFFIXES:	.asm .hex
     12 
     13 ASM = ../../tools/ledasm
     14 
     15 SRCS = $(wildcard *.asm)
     16 OBJS = $(patsubst %.asm,%.hex,$(SRCS))
     17 
     18 all: $(OBJS)
     19 
     20 remake: clobber all
     21 
     22 %.hex: %.asm
     23 	$(ASM) $*
     24 
     25 clean:
     26 	rm -f *.lst
     27 
     28 clobber: clean
     29 	rm -f *.hex
     30 	rm -f *.c