summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-05-28 20:35:11 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-05-28 20:35:11 +0100
commit00c326445325484c470fc06cf916a4f6b59358f7 (patch)
tree0251ff01a9c986eafb61ffa6762aca27fc8163bf /Makefile
parent9c5553fbd041724c09f5e602be4b37f5bc61b1d7 (diff)
downloadfmk-00c326445325484c470fc06cf916a4f6b59358f7.tar.gz
fmk-00c326445325484c470fc06cf916a4f6b59358f7.tar.xz
fmk-00c326445325484c470fc06cf916a4f6b59358f7.zip
Makefile: add small target for -Os compiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ef5ba35..45758aa 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,10 @@ debug: all
debug: CFLAGS += -Og -ggdb
debug: LDFLAGS += -Og -ggdb
+small: all
+small: CFLAGS += -Os
+small: LDFLAGS += -Os
+
all: fmk.bin
fmk: $(OBJ)