target=sndo
rm=rm -f
o=o
so=so
a=a
cc=gcc
cflags=-c -Wall -pedantic -idirafter ../../include
ld=gcc
lflags=-o $(target)
libs=../../arch/unix/libv.$(a) /usr/lib/libpthread.$(so) /usr/lib/libm.$(so)
all:$(target)
$(target).$(o):$(target).c
	$(cc) $(cflags) $(target).c
$(target):$(target).$(o)
	$(ld) $(target).$(o) $(libs) $(lflags)
clean:
	$(rm) $(target).$(o)
	$(rm) $(target)
