Initial commit

This commit is contained in:
davidovski 2021-07-27 10:28:29 +01:00
commit 78ed4873aa
3 changed files with 42 additions and 0 deletions

17
Makefile Normal file
View file

@ -0,0 +1,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 -o ${PROG} ${FLAGS}
build-osx: ${PROG}
clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a ${PROG}.c -o ${PROG}
clean: ${PROG}
rm ${PROG}