Subversion Repositories Kolibri OS

Rev

Rev 6668 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. AR = kos32-ar
  3. FASM:= fasm.exe
  4.  
  5. TARGET:= libsound
  6.  
  7. dirs := ./src
  8.  
  9. target_srcs:= $(foreach dir,$(dirs),$(wildcard $(dir)/*.asm))
  10.  
  11. target_objs:= $(subst .asm,.o,$(target_srcs))
  12.  
  13.  
  14. all: $(TARGET).a
  15.  
  16. %.o: %.asm
  17.         $(FASM) $< $@
  18.  
  19. $(TARGET).a: $(target_objs) Makefile  
  20.         $(AR) cvrs $@ $(target_objs)
  21.         mv -f $@ ../../lib
  22.