streuner-game/Makefile
2014-05-08 12:10:59 +02:00

28 lines
386 B
Makefile

ZIP := zip
LOVE := love
NAME := ds_alpha
VERSION := 0.0.1
SRCDIR := src
BUILDDIR := build
.PHONY : all
all : run
$(BUILDDIR):
mkdir -p $(BUILDDIR)
love : $(BUILDDIR)
cd $(SRCDIR)/ && \
$(ZIP) -9 -r ../$(BUILDDIR)/$(NAME)_$(VERSION).love .
run :
$(LOVE) $(SRCDIR)/
clean :
rm -rf $(BUILDDIR)/*
kill:
kill -s kill $(ps | grep "love src/" | awk '{print $1}')