Ticket #42088: patch-Makefile.diff

File patch-Makefile.diff, 1013 bytes (added by mojca (Mojca Miklavec), 11 years ago)
  • source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/Makefile

    old new  
    11CONFIGDIR=../../../../../config
    22include $(CONFIGDIR)/MakefileConfig.mk
    33
    4 FLAGS=$(MYCFLAGS) $(ARCHFLAGS) -O2 -Wall -I$(LUAINCLUDES) -I$(PGFINCLUDES)
     4FLAGS=$(MYCFLAGS) $(ARCHFLAGS) -Wall -I$(LUAINCLUDES) -I$(PGFINCLUDES)
    55
    66all: InterfaceFromC.o InterfaceFromC++.o
    77
  • source/generic/pgf/c/graphdrawing/pgf/gd/examples/c/Makefile

    old new SimpleDemoCPlusPlus.so: SimpleDemoCPlusPlus.o ../../interface/c/InterfaceFromC++ 
    3131        SimpleDemoCPlusPlus.o ../../interface/c/InterfaceFromC++.o ../../interface/c/InterfaceFromC.o
    3232
    3333SimpleDemoCPlusPlus.o: SimpleDemoCPlusPlus.c++ ../../interface/c/InterfaceFromC++.h  ../../interface/c/InterfaceFromC.h
    34         g++ $(FLAGS) -c -o SimpleDemoCPlusPlus.o SimpleDemoCPlusPlus.c++
     34        $(CC) $(FLAGS) -c -o SimpleDemoCPlusPlus.o SimpleDemoCPlusPlus.c++
    3535