clip fixes, ladspa build fixes
[goodguy/history.git] / cinelerra-5.1 / cinelerra / Makefile
index 562908604a28272a615722b8fac0f5909b89e172..512fe83775473111caecc0c7450b4e9546b667f5 100644 (file)
@@ -226,6 +226,7 @@ OBJS = \
        $(OBJDIR)/pluginvclient.o \
        $(OBJDIR)/preferences.o \
        $(OBJDIR)/preferencesthread.o \
+       $(OBJDIR)/probeprefs.o \
        $(OBJDIR)/question.o \
        $(OBJDIR)/quit.o \
        $(OBJDIR)/recconfirmdelete.o \
@@ -444,8 +445,9 @@ $(OBJDIR)/%.o:              %.C
 $(OBJDIR)/sha1.o:      sha1.C sha1.h
        $(CXX) `cat $(OBJDIR)/c_flags` -O3 -c $< -o $@
 
-$(DCRAW): dcraw.c
-       $(GCC) `cat $(OBJDIR)/c_flags` -Wno-misleading-indentation dcraw.c -c -o $*.o
+$(DCRAW): dcraw.C
+       $(CXX) `cat $(OBJDIR)/c_flags` $(if $(findstring -ggdb,$(CFLAGS)),,-O4) -DNODEPS -DLOCALTIME \
+               -Wno-misleading-indentation -Wno-sign-compare -Wno-narrowing dcraw.C -c -o $*.o
 
 $(THEME_DATA):
        cd $(OBJDIR) && \