forked from KolibriOS/kolibrios
1918b713af
pixlib3: enable linear texture filtration libsync: user space synchronization git-svn-id: svn://kolibrios.org@5602 a494cfbc-eb01-0410-851d-a64ba20cac60
33 lines
410 B
Makefile
33 lines
410 B
Makefile
LIBRARY= libsync
|
|
|
|
FASM = fasm.exe
|
|
AR = kos32-ar
|
|
ARFLAGS = crs
|
|
|
|
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 ../../lib
|
|
|
|
%.o : %.asm Makefile
|
|
$(FASM) $< $@
|
|
|
|
clean:
|
|
-rm -f *.o
|
|
|
|
|
|
|
|
|