Subversion Repositories Kolibri OS

Rev

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

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