shouldn't null terminate trans2 qfileinfo all_info/name
[Samba/gebeck_regimport.git] / examples / VFS / Makefile
blobac5a93b49ba814557ef67946de45c95ef21131aa
1 CFLAGS =
2 CPPFLAGS =
3 LDFLAGS =
4 LDSHFLAGS = -shared
5 srcdir = ../../source/
6 FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir)
8 # Auto target
9 default: $(patsubst %.c,%.so,$(wildcard *.c))
11 # Pattern rules
13 %.so: %.o
14 $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
16 %.o: %.c
17 $(CC) $(FLAGS) -c $<
19 # Misc targets
21 clean:
22 rm -rf .libs
23 rm -f core *~ *% *.bak *.o *.so