33 lines
723 B
Makefile
33 lines
723 B
Makefile
TARGET := racer.elf
|
|
ENGINEDIR := /tyra/engine
|
|
|
|
#The Directories, Source, Includes, Objects, Binary and Resources
|
|
SRCDIR := src
|
|
INCDIR := inc
|
|
BUILDDIR := obj
|
|
TARGETDIR := bin
|
|
RESDIR := res
|
|
SRCEXT := cpp
|
|
VSMEXT := vsm
|
|
VCLEXT := vcl
|
|
VCLPPEXT := vclpp
|
|
DEPEXT := d
|
|
OBJEXT := o
|
|
|
|
#Flags, Libraries and Includes
|
|
CFLAGS :=
|
|
LIB := -ltyra
|
|
LIBDIRS := -L$(ENGINEDIR)/bin
|
|
INC := -I$(INCDIR) -I$(ENGINEDIR)/inc
|
|
INCDEP := -I$(INCDIR) -I$(ENGINEDIR)/inc
|
|
|
|
include /tyra/Makefile.base
|
|
|
|
clean-engine:
|
|
cd $(ENGINEDIR) && $(MAKE) cleaner
|
|
|
|
build-engine:
|
|
cd $(ENGINEDIR) && $(MAKE)
|
|
|
|
build-release-engine:
|
|
cd $(ENGINEDIR) && $(MAKE) release
|