diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-30 20:37:57 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-30 20:37:57 -0700 |
commit | ca19f6fe479d739e84595fd4a034a8dd0484f2df (patch) | |
tree | 2ea26ca961ffdad46894a9cb9e169d15b35e2ded /Makefile | |
parent | 6bceaa4a60da1f075bdd3133d7d95d8d5d7a06ac (diff) |
fix: more bug squashing of parser
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 := -static -nodefaultlibs -nostartfiles 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 "$@;\ |