clip fixes, ladspa build fixes
[goodguy/history.git] / cinelerra-5.1 / cinelerra / Makefile
index 93fd8b61ec392d06693c604dce3e720e8ef26347..512fe83775473111caecc0c7450b4e9546b667f5 100644 (file)
@@ -445,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` -O4 -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) && \