aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-31 14:53:10 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-31 14:53:10 -0700
commit3297ca7f3a3313e80e49547c857e1593286316b8 (patch)
treee3fc9e24e7ca89be75c1d1981107de8a01d0fe61 /Makefile
parentb6291927ffb898e37fd482b08669b3577e4d669a (diff)
minor changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 554ccfc..4a70bac 100644
--- a/Makefile
+++ b/Makefile
@@ -12,15 +12,15 @@ OBJ_DIR := build
TST_DIR := test
# C runtime library
-CINIT := $(LIB_DIR)/crt/crt1.o $(LIB_DIR)/crt/x86_64/crti.o `gcc --print-file-name=crtbeginS.o`
-CFINI := `gcc --print-file-name=crtendS.o` $(LIB_DIR)/crt/x86_64/crtn.o
+CINIT := #$(LIB_DIR)/crt/crt1.o $(LIB_DIR)/crt/x86_64/crti.o `gcc --print-file-name=crtbeginS.o`
+CFINI := #`gcc --print-file-name=crtendS.o` $(LIB_DIR)/crt/x86_64/crtn.o
# Flags, Libraries and Includes
CFLAGS := -g -march=native -fno-strict-aliasing -fwrapv -fms-extensions
-STATIC := -static -nodefaultlibs -nostartfiles
+STATIC := #-nodefaultlibs -nostartfiles -static
AFLAGS := -f elf64
-INCS := -I $(INC_DIR) -isystem $(INC_DIR)/vendor/libc
-ELIBS := -L$(LIB_DIR) -lc
+INCS := -I $(INC_DIR) #-isystem $(INC_DIR)/vendor/libc
+ELIBS := #-L$(LIB_DIR) -lc
# Named generic rules (must be evaluated lazily)
COMPILE = @echo "CC "$@;\