dungeon-generator/Makefile

18 lines
373 B
Makefile
Raw Permalink Normal View History

2021-07-27 09:28:29 +00:00
PROG=dungeon-generator
CC=gcc
FLAGS=-lm -lraylib
.DEFAULT_GOAL := build
install: ${PROG}
cp ${PROG} ~/.local/bin/
build: src/main.c
2021-08-01 14:36:18 +00:00
${CC} src/main.c src/mst.c -o ${PROG} ${FLAGS}
2021-07-27 09:28:29 +00:00
build-osx: ${PROG}
2021-08-02 00:08:13 +00:00
clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a src/main.c src/mst.c -o ${PROG}
2021-07-27 09:28:29 +00:00
clean: ${PROG}
rm ${PROG}