• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revision6a934d0be4d1fcb73e5ef5db718bb0ac6845fa0a (tree)
Zeit2020-02-09 23:03:11
Autordhrname <dhrname@user...>
Commiterdhrname

Log Message

Modify the MakeFile

Ändern Zusammenfassung

Diff

--- a/source_code/Makefile
+++ b/source_code/Makefile
@@ -3,6 +3,7 @@ DEBUGMODE = -Wall -std=c11 -O0 -g -pg
33 NODEBUGMODE = -Wall -std=c11 -O2
44 SHELL = /bin/sh
55 HEADERS = shadowstar.h star.h orderedpair/pair.h orderedpair/list/item.h orderedpair/list/tree/btree.h orderedpair/list/tree/nodelist/ntree.h orderedpair/list/tree/nodelist/class/class.h
6+OBJECT = shadowstar.o exception.o
67
78 all : startest star
89 .PHONY : all
@@ -16,11 +17,11 @@ star.o: $(HEADERS)
1617
1718 shadowstar.o: $(HEADERS)
1819
19-star: shadowstar.o star.o exception.o
20- $(CC) $(NODEBUGMODE) -o ../$@ shadowstar.o star.o exception.o
20+star: star.o $(OBJECT)
21+ $(CC) $(NODEBUGMODE) -o ../$@ star.o $(OBJECT)
2122
22-startest: shadowstar.o startest.o exception.o
23- $(CC) $(NODEBUGMODE) -o ../$@ shadowstar.o startest.o exception.o
23+startest: startest.o $(OBJECT)
24+ $(CC) $(NODEBUGMODE) -o ../$@ startest.o $(OBJECT)
2425
2526 clean:
2627 rm -f shadowstar.o startest.o star.o exception.o