※ 引述《timmylin (再也不寫程式了...)》之銘言:
:
: circuit.o: circuit.cpp circuit.h gate.h
: g++ -c -g circuit.cpp
: gate.o: gate.cpp gate.h
: g++ -c -g gate.cpp
: circuit.h: mytype.h
: touch circuit.h
: 最後再將執行檔的編譯變成這樣
: bdd: bddNode.o bddManager.o circuit.o gate.o bddMain.o
: g++ -o bdd -g -Wall bddNode.o bddManager.o circuit.o gate.o bddMain.o
: Note:bddMain.o是我的主程式...之前老師提供的應該是test.o
: 加油加油~~~
成功 makefile 了, 感激感激 QQ
現在只剩慢慢把一個個 member function 架構起來....
但我覺得應該還要寫很久吧 XD
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.245.223