From bd80c9ae7f433907030bd8f8a9e1bcaaf151b6d5 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Thu, 18 Jan 2018 19:52:54 +0000 Subject: [PATCH] Add build and link targets to the makefile --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3ceec2..48f8ac1 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,13 @@ SUBDIRS = KOS_CFLAGS += -ffast-math -O3 -Iinclude -defaultall: create_kos_link $(OBJS) subdirs linklib +link: + $(KOS_AR) rcs $(TARGET) $(OBJS) + +build: $(OBJS) link + + +defaultall: create_kos_link build subdirs linklib include $(KOS_BASE)/addons/Makefile.prefab