aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 65eb8b5..9c1307b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# Compiler, Linker, and Assembler
-CC := clang
-AR := ar
-ASMR := nasm
+CC := clang
+AR := ar
+AS := nasm
# All needed build directories
INC_DIR := include
@@ -23,6 +23,7 @@ TGTLIBS :=
COMPILE = $(CC) -MMD $(CFLAGS) $(TGTFLAGS) $(INCS) $(TGTINCS) -o $@ -c $<
LINK = $(CC) -MMD $(CFLAGS) $(TGTFLAGS) -o $@ $^ $(LIBS) $(TGTLIBS)
COMPLINK = $(CC) -MMD $(CFLAGS) $(TGTFLAGS) $(INCS) $(TGTINCS) -o $@ $< $(LIBS)
+ASSEMBLE = $(AS) $(AFLAGS) $(TGTFLAGS) -o $@ $<
ARCHIVE = $(AR) -crs $@ $^
include rules.mk