We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e322805 commit 69c5d90Copy full SHA for 69c5d90
lib/makefile
@@ -2,18 +2,18 @@
2
SOURCE = ../src/*/*.c
3
GLYINC = ../inc
4
default: $(SOURCE)
5
- gcc -Wall -I$(GLYINC) -c $(SOURCE) -g
+ gcc -Wall -I$(GLYINC) -c $(SOURCE) -g -fcommon
6
ar rvs libglylib.a *.o
7
rm -f *.o
8
- g++ -Wall -I$(GLYINC) -c $(SOURCE) -g
+ g++ -Wall -I$(GLYINC) -c $(SOURCE) -g -fcommon
9
ar rvs libglylib++.a *.o
10
11
justC: $(SOURCE)
12
13
14
15
justCpp: $(SOURCE)
16
17
18
19
clean:
0 commit comments