CC=gcc OBJS=libexif.o ExifParse.o IptcParse.o JpegParse.o CFLAGS=-D_LINUX -D_DLL -fPIC -O2 libexif-i486-linux.so: $(OBJS) $(CC) -shared -o $@ *.o `cat $(XBMC_ROOT)/xbmc/cores/DllLoader/exports/wrapper.def` $(XBMC_ROOT)/xbmc/cores/DllLoader/exports/wrapper.o clean: $(RM) $(OBJS) *.so %o : %cpp g++ -c -o $@ $< $(CFLAGS) %o : %c $(CC) -c -o $@ $< $(CFLAGS)