summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6b3b171021105ac2aca3617123248b31b3eb3909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# the real build is build.c, this is for those who type make. all it needs is a C compiler.
# make ARGS="-d -m font,ui" run    is    ./build -d -m font,ui run

ARGS =

all: build
	./build $(ARGS) all

run tools pack examples clean: build
	./build $(ARGS) $@

build: build.c kon/konbuild.h
	$(CC) -DKON_CC='"$(CC)"' -o build build.c