CC = @CC@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LDSHFLAGS = -shared srcdir = @builddir@ FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir) VFS_OBJS = netatalk.so # Default target default: $(VFS_OBJS) # Pattern rules %.so: %.o $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $< %.o: %.c $(CC) $(FLAGS) -c $< # Misc targets clean: rm -rf .libs rm -f core *~ *% *.bak \ $(VFS_OBJ) $(VFS_OBJS)