-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a Makefile demo for test_aco_synopsis.c
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
TARGET = test_aco_synopsis | ||
CC = gcc | ||
CFLAGS = -g -O2 -Wall -Werror | ||
|
||
test_aco_synopsis : acosw.o aco.o test_aco_synopsis.o | ||
cc -o test_aco_synopsis acosw.o aco.o test_aco_synopsis.o | ||
|
||
acosw.o : acosw.S | ||
$(CC) $(CFLAGS) -c acosw.S -o acosw.o | ||
aco.o : aco.c aco.h aco_assert_override.h | ||
$(CC) $(CFLAGS) -c aco.c -o aco.o | ||
test_aco_synopsis.o : test_aco_synopsis.c aco.h aco_assert_override.h | ||
$(CC) $(CFLAGS) -c test_aco_synopsis.c -o test_aco_synopsis.o | ||
|
||
clean : | ||
rm acosw.o aco.o test_aco_synopsis.o test_aco_synopsis |
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add such a make script when better variants can be generated by other known tools?
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Makefile is just a temporary demonstration and will be substituted when our formal build system generator arrives (I should have commented on it clearly).
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such a make script might be temporarily useful for your own software build experiments while advanced development approaches will be safer and more powerful.
You could separate further development ideas on corresponding topic branches, couldn't you?
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just moved it into the dev branch.
Thank you very much for your advice ;)
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will further development branches evolve?
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's very possible.
7290791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest then to give desired branches clearer names.