This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
build_your_own_lisp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Activity
Browse Source
Add linker flag for math library; add header file to dependencies
master
T. Meissner
6 years ago
parent
e03863667c
commit
85c06130ed
4 changed files
with
6 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
chapter_07/Makefile
+1
-1
chapter_08/Makefile
+2
-2
chapter_09/Makefile
+2
-2
chapter_10/Makefile
+ 1
- 1
chapter_07/Makefile
View File
@ -5,7 +5,7 @@ all: lispy
%
:
%.
c
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -o
$@
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -
lm -
o
$@
.PHONY
:
clean
+ 1
- 1
chapter_08/Makefile
View File
@ -5,7 +5,7 @@ all: lispy
%
:
%.
c
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -o
$@
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -
lm -
o
$@
.PHONY
:
clean
+ 2
- 2
chapter_09/Makefile
View File
@ -4,8 +4,8 @@ MPC_DIR := ../mpc
all
:
lispy
%
:
%.
c
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -o
$@
%
:
%.
c
%.
h
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -
lm-
o
$@
.PHONY
:
clean
+ 2
- 2
chapter_10/Makefile
View File
@ -4,8 +4,8 @@ MPC_DIR := ../mpc
all
:
lispy
%
:
%.
c
cc -std
=
c11 -Wall
$@
.c
${
MPC_DIR
}
/mpc.c -ledit -o
$@
%
:
%.
c
%.
h
cc -std
=
c11 -Wall
-Wextra
$@
.c
${
MPC_DIR
}
/mpc.c -ledit
-lm
-o
$@
.PHONY
:
clean
Write
Preview
Loading…
Cancel
Save