kolibrios-fun/contrib/sdk/sources/sound/Makefile
Sergey Semyonov (Serge) 78cec47872 update makefiles
git-svn-id: svn://kolibrios.org@6668 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-04 06:36:45 +00:00

24 lines
381 B
Makefile

AR = kos32-ar
FASM:= fasm
INSTALLDIR:= /home/autobuild/tools/win32/lib
TARGET:= libsound
dirs := ./src
target_srcs:= $(foreach dir,$(dirs),$(wildcard $(dir)/*.asm))
target_objs:= $(subst .asm,.o,$(target_srcs))
all: $(TARGET).a
%.o: %.asm
$(FASM) $< $@
$(TARGET).a: $(target_objs) Makefile
$(AR) cvrs $@ $(target_objs)
mv -f $@ $(INSTALLDIR)