2020-04-14 22:07:52 +02:00
|
|
|
diff -uNr rgbds/Makefile rgbds.mod/Makefile
|
|
|
|
--- rgbds/Makefile 2020-04-04 12:01:55.000000000 +0300
|
|
|
|
+++ rgbds.mod/Makefile 2020-04-14 23:07:08.846835851 +0300
|
2020-02-23 22:05:41 +01:00
|
|
|
@@ -11,11 +11,9 @@
|
|
|
|
|
|
|
|
# User-defined variables
|
|
|
|
|
|
|
|
-Q := @
|
|
|
|
-PREFIX := /usr/local
|
2017-08-20 11:54:37 +02:00
|
|
|
bindir := ${PREFIX}/bin
|
2020-02-23 22:05:41 +01:00
|
|
|
mandir := ${PREFIX}/man
|
|
|
|
-STRIP := -s
|
|
|
|
+STRIP :=
|
2017-08-20 11:54:37 +02:00
|
|
|
BINMODE := 555
|
|
|
|
MANMODE := 444
|
2020-02-23 22:05:41 +01:00
|
|
|
CHECKPATCH := ../linux/scripts/checkpatch.pl
|
|
|
|
@@ -31,13 +29,9 @@
|
|
|
|
|
2019-03-10 22:53:44 +01:00
|
|
|
WARNFLAGS := -Wall
|
|
|
|
|
2020-02-23 22:05:41 +01:00
|
|
|
-# Overridable CFLAGS
|
2020-04-14 22:07:52 +02:00
|
|
|
-CFLAGS := -O3
|
2019-03-10 22:53:44 +01:00
|
|
|
# Non-overridable CFLAGS
|
2020-04-14 22:07:52 +02:00
|
|
|
REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=c11 -D_POSIX_C_SOURCE=200809L \
|
|
|
|
-D_DEFAULT_SOURCE -Iinclude
|
2020-02-23 22:05:41 +01:00
|
|
|
-# Overridable LDFLAGS
|
|
|
|
-LDFLAGS :=
|
|
|
|
# Non-overridable LDFLAGS
|
2020-04-14 22:07:52 +02:00
|
|
|
REALLDFLAGS := ${LDFLAGS} ${WARNFLAGS} \
|
|
|
|
-DBUILD_VERSION_STRING=\"${VERSION_STRING}\"
|