Path: blob/master/build/pkgs/cliquer/patches/Makefile.patch
8822 views
diff -ur src/Makefile src.patched/Makefile1--- src/Makefile 2010-02-16 05:26:57.000000000 +01002+++ src.patched/Makefile 2011-04-26 09:46:41.000000000 +02003@@ -1,14 +1,17 @@45##### Configurable options:67+# Don't need to set any of these compiler variables. They have already been8+# set when running SAGE_ROOT/local/bin/sage-env as part of installing a9+# package.10## Compiler:11-CC=gcc12+#CC=gcc13#CC=cc1415## Compiler flags:1617# GCC: (also -march=pentium etc, for machine-dependent optimizing)18-CFLAGS=-Wall -O3 -fomit-frame-pointer -funroll-loops19+#CFLAGS=-Wall -O3 -fomit-frame-pointer -funroll-loops2021# GCC w/ debugging:22#CFLAGS=-Wall -g -DINLINE=23@@ -29,14 +32,14 @@24##### End of configurable options252627-all: cl28+all: libcliquer.so293031testcases: testcases.o cliquer.o graph.o reorder.o32$(CC) $(LDFLAGS) -o $@ testcases.o cliquer.o graph.o reorder.o3334-cl: cl.o cliquer.o graph.o reorder.o35- $(CC) $(LDFLAGS) -o $@ cl.o cliquer.o graph.o reorder.o36+libcliquer.so: cl.o cliquer.o graph.o reorder.o37+ $(CC) $(LDFLAGS) $(SAGESOFLAGS) -o $@ cl.o cliquer.o graph.o reorder.o383940cl.o testcases.o cliquer.o graph.o reorder.o: cliquer.h set.h graph.h misc.h reorder.h Makefile cliquerconf.h414243