bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / guicast / Makefile
index 50f5aa11e5ae626001e30262d674927333b32815..1c3822f3392d47c5bb921d2d3330aae1a3807c86 100644 (file)
@@ -8,6 +8,9 @@ endif
 ifeq ($(OBJDIR), x86_64)
 BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B i386 -I binary -O elf64-x86-64\""
 endif
+ifeq ($(OBJDIR), amd64)
+BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B i386 -I binary -O elf64-x86-64\""
+endif
 
 $(shell mkdir -p $(OBJDIR) )
 
@@ -100,13 +103,13 @@ $(OUTPUT): $(OBJS) $(BCXFER)
        ar rs $(OUTPUT) `ls -1 $(dir $(BCXFER))/xfer*.o`
 
 $(OBJDIR)/bootstrap:
-       gcc -O2 $(BOOTSTRAPFLAGS) bootstrap.c -o $(OBJDIR)/bootstrap
+       $(CC) -O2 $(BOOTSTRAPFLAGS) bootstrap.c -o $(OBJDIR)/bootstrap
 
 $(OBJDIR)/pngtoh: pngtoh.c
-       gcc -O2 pngtoh.c -o $(OBJDIR)/pngtoh
+       $(CC) -O2 pngtoh.c -o $(OBJDIR)/pngtoh
 
 $(OBJDIR)/pngtoraw: pngtoraw.c
-       gcc -O2 pngtoraw.c -o $(OBJDIR)/pngtoraw -lpng -lz
+       $(CC) -O2 pngtoraw.c -o $(OBJDIR)/pngtoraw -lpng -lz
 
 clean:
        rm -rf $(OBJDIR)