bunch-o compiler bitch'n
[goodguy/history.git] / cinelerra-5.1 / cinelerra / Makefile
index 93fd8b61ec392d06693c604dce3e720e8ef26347..846e8284a1496b8b1e11822074a76fb21df2e05e 100644 (file)
@@ -40,7 +40,6 @@ OBJS = \
        $(OBJDIR)/avc1394control.o \
        $(OBJDIR)/avc1394transport.o \
        $(OBJDIR)/awindowgui.o \
-       $(OBJDIR)/awindowmenu.o \
        $(OBJDIR)/awindow.o \
        $(OBJDIR)/batch.o \
        $(OBJDIR)/batchrender.o \
@@ -61,6 +60,7 @@ OBJS = \
        $(OBJDIR)/chantables.o \
        $(OBJDIR)/cicolors.o \
        $(OBJDIR)/clipedit.o \
+       $(OBJDIR)/clippopup.o \
        $(OBJDIR)/colorpicker.o \
        $(OBJDIR)/commercials.o \
        $(OBJDIR)/commonrender.o \
@@ -124,6 +124,7 @@ OBJS = \
        $(OBJDIR)/filexml.o \
        $(OBJDIR)/floatauto.o \
        $(OBJDIR)/floatautos.o \
+       $(OBJDIR)/folderlistmenu.o \
        $(OBJDIR)/formatcheck.o \
        $(OBJDIR)/formatpopup.o \
        $(OBJDIR)/formatpresets.o \
@@ -149,6 +150,7 @@ OBJS = \
        $(OBJDIR)/keyframepopup.o \
        $(OBJDIR)/keyframes.o \
        $(OBJDIR)/labeledit.o \
+       $(OBJDIR)/labelpopup.o \
        $(OBJDIR)/labelnavigate.o \
        $(OBJDIR)/labels.o \
        $(OBJDIR)/levelwindowgui.o \
@@ -445,8 +447,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) && \