aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-18 04:22:18 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-18 04:22:18 -0400
commitf17698c08030b64e5106465525b73735516d567e (patch)
tree2036e55679b9e915afcc6e7d90dcdc994e05ac06 /Makefile
parent232143960505b156e8388017a866a89230224105 (diff)
downloadbeaker-f17698c08030b64e5106465525b73735516d567e.tar.gz
fix: remove OS specific code in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 1f909dc..eb44468 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,6 @@
-S := $(shell uname -s | tr -d ' ')
-
-ifeq ($(OS), FreeBSD)
- CC := clang
- INSTALL_PREFIX ?= /usr/local/
- LDCONFIG := true
-else
- CC := gcc
- INSTALL_PREFIX ?= /usr/
- LDCONFIG := ldconfig
-endif
+CC ?= cc
+INSTALL_PREFIX ?= /usr/
+LDCONFIG := ldconfig
AR := ar
CFLAGS := -Wall -fPIC -I. -Isrc