kolibrios/contrib/sdk/sources/libsync/Makefile
Sergey Semyonov (Serge) e2cbc758d1 sdk: update Makefiles
git-svn-id: svn://kolibrios.org@6531 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-09-22 16:14:35 +00:00

34 lines
456 B
Makefile

LIBRARY= libsync
FASM = fasm
AR = kos32-ar
ARFLAGS = crs
INSTALLDIR:= /home/autobuild/tools/win32/lib
SRCS = mutex.asm \
m_destroy.asm \
m_lock.asm \
m_try.asm \
m_unlock.asm \
$(NULL)
OBJS = $(patsubst %.asm, %.o, $(SRCS))
# targets
all: libsync.a
libsync.a: $(OBJS) Makefile
$(AR) $(ARFLAGS) libsync.a $(OBJS)
mv -f libsync.a $(INSTALLDIR)
%.o : %.asm Makefile
$(FASM) $< $@
clean:
-rm -f *.o