make: simplify

Thu, 26 Mar 2020 11:25:28 +0100

author
David Demelier <markand@malikania.fr>
date
Thu, 26 Mar 2020 11:25:28 +0100
changeset 22
1778aac34198
parent 21
bf880b3c0665
child 23
6081cc143d37

make: simplify

Makefile file | annotate | diff | comparison | revisions
--- a/Makefile	Sun Feb 09 10:55:12 2020 +0100
+++ b/Makefile	Thu Mar 26 11:25:28 2020 +0100
@@ -19,9 +19,7 @@
 .POSIX:
 
 CC=             gcc
-CFLAGS=         -Wall -Wextra -pedantic -std=c11 -DNDEBUG -D_XOPEN_SOURCE=700 ${EXTRA_CFLAGS}
-LDFLAGS=        ${EXTRA_LDFLAGS}
-LDLIBS=         ${EXTRA_LDLIBS}
+CFLAGS=         -O3 -DNDEBUG
 
 PREFIX=         /usr/local
 BINDIR=         ${PREFIX}/bin
@@ -36,7 +34,7 @@
 all: ${PROG}
 
 ${PROG}: ${OBJS}
-	${CC} -o ${PROG} ${OBJS} ${LDFLAGS} ${LDLIBS}
+	${CC} -o ${PROG} ${OBJS} ${LDFLAGS}
 
 clean:
 	rm -f ${OBJS} ${PROG}

mercurial