blob: 35d0205bf4afe2eba9ee2f23fc5d7b9b1a2653ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
PROG=dungeon-generator
CC=gcc
FLAGS=-lm -lraylib
.DEFAULT_GOAL := build
install: ${PROG}
cp ${PROG} ~/.local/bin/
build: src/main.c
${CC} src/main.c src/mst.c -o ${PROG} ${FLAGS}
build-osx: ${PROG}
clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a src/main.c src/mst.c -o ${PROG}
clean: ${PROG}
rm ${PROG}
|