aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-07-01 09:26:44 +0200
committerMattias Andrée <maandree@kth.se>2023-07-01 09:26:44 +0200
commitbd32947e35d5da5747a02f0744730cb16077ba39 (patch)
treebf9a9b81b4d50e29fc3dbc63261f1dc064b1ed13 /config.mk
parentChange PREFIX to /usr (diff)
downloadoptimised-true-bd32947e35d5da5747a02f0744730cb16077ba39.tar.gz
optimised-true-bd32947e35d5da5747a02f0744730cb16077ba39.tar.bz2
optimised-true-bd32947e35d5da5747a02f0744730cb16077ba39.tar.xz
Improve makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..f5d0b4e
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,9 @@
+PREFIX = /usr
+
+CC = c99
+LD = ld
+AS = as
+
+CFLAGS = -nostdinc -ffreestanding
+ASFLAGS =
+LDFLAGS = -s