Subversion Repositories Kolibri OS

Rev

Rev 6303 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5602 serge 1
LIBRARY= libsync
2
 
6303 serge 3
FASM = fasm
5602 serge 4
AR = kos32-ar
5
ARFLAGS = crs
6531 serge 6
INSTALLDIR:= /home/autobuild/tools/win32/lib
5602 serge 7
 
8
SRCS = 	mutex.asm	\
9
	m_destroy.asm	\
10
	m_lock.asm	\
11
	m_try.asm	\
12
	m_unlock.asm	\
13
	$(NULL)
14
 
15
OBJS =  $(patsubst %.asm, %.o, $(SRCS))
16
 
17
# targets
18
 
19
all: libsync.a
20
 
21
libsync.a: $(OBJS) Makefile
22
	$(AR) $(ARFLAGS) libsync.a $(OBJS)
6531 serge 23
	mv -f libsync.a $(INSTALLDIR)
5602 serge 24
 
25
%.o : %.asm Makefile
26
	$(FASM) $< $@
27
 
28
clean:
29
	-rm -f *.o
30