• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

データマイニングツール


Commit MetaInfo

Revisionf6e4e2faa79b997473fec712de211057ea9036d4 (tree)
Time2017-12-17 20:18:37
Authorhatchi <hatchi@hatc...>
Commiterhatchi

Log Message

macOS でのgsed の利用に変更

Change Summary

Incremental Difference

--- a/zdd/lib/SAPPOROBDD/src/BDDLCM/makefile
+++ b/zdd/lib/SAPPOROBDD/src/BDDLCM/makefile
@@ -3,6 +3,10 @@ DIR = ../..
33 INCL = $(DIR)/include
44 OPT = -O3 -D_NO_MAIN_ -I$(INCL)
55 OPT64 = $(OPT) -DB_64
6+SED = sed
7+ifeq ($(shell uname), Darwin)
8+SED = gsed
9+endif
610
711 all: lcm-vsop.o
812
@@ -11,11 +15,11 @@ all: lcm-vsop.o
1115 clean:
1216 rm -f *.o *.a *~
1317
14-lcm-vsop.o: lcm-vsop.cc
15- $(CC) $(OPT) -c lcm-vsop.cc
18+lcm-vsop.o: lcm-vsop.cc
19+ $(CC) $(OPT) -c lcm-vsop.cc
1620 rm -f lcm-vsop_64.o
1721
18-lcm-vsop_64.o: lcm-vsop.cc
22+lcm-vsop_64.o: lcm-vsop.cc
1923 $(CC) $(OPT64) -c lcm-vsop.cc -o lcm-vsop_64.o
2024 rm -f lcm-vsop.o
2125
@@ -23,5 +27,4 @@ lcm-vsop.cc: lcm.c problem.c itemset.c trsact.c base.c \
2327 queue.c stdlib2.c aheap.c sgraph.c vec.c lcm-vsop.sed \
2428 aheap.h base.h itemset.h problem.h queue.h \
2529 sgraph.h stdlib2.h trsact.h vec.h
26- sed -f lcm-vsop.sed < lcm.c > lcm-vsop.cc
27-
30+ $(SED) -f lcm-vsop.sed < lcm.c > lcm-vsop.cc