Add build and link targets to the makefile

This commit is contained in:
Luke Benstead 2018-01-18 19:52:54 +00:00
parent 3f364c6a12
commit bd80c9ae7f

View File

@ -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