summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorgonzo <gonzo@toniatuh.com>2023-05-19 22:17:58 +0200
committergonzo <gonzo@toniatuh.com>2023-05-19 22:17:58 +0200
commit0751b55f611b889f63dfc2bc2705e7537703cb43 (patch)
tree3a996ccde1904e92b910900d8d25c55424fff33d /Makefile
parentd01fc15a98e5ede02e3f9aff04e3d4014e6e484c (diff)
downloadloan_calc-0751b55f611b889f63dfc2bc2705e7537703cb43.tar.gz
added loan struct to abstract over loan types
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d3a30d0..14f15ab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
UNAME := $$( uname -s )
.if ${UNAME} == "Linux"
-CC=clang --std=gnu99
+CC=clang --std=gnu11
.else
-CC=clang --std=c99
+CC=clang --std=c11
.endif
AR=ar ruvcs
-CFLAGS=-Wall -Wextra -Werror -Weverything -Wpadded -pedantic
-LIBS=-lncurses -lm
+CFLAGS=-Wall -Wextra -Werror -Weverything -pedantic
+LIBS=-lform -lncurses -lm
BLDFLAGS=-g
RELFLAGS=-O2
@@ -18,7 +18,7 @@ HEAD=
OBJ=${DEPS:.c=.o}
LIB=las.a
-LDEPS=bullet_loan.c straight_line_loan.c mortgage_loan.c
+LDEPS=bullet_loan.c straight_line_loan.c mortgage_loan.c loans.c
LHEAD=contract.h loans.h
LOBJ=${LDEPS:.c=.o}