polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit d6f32a8e53ed205fe23042b22d523d12abad4bda
parent 8cca4e9e69c9fe169ed6575aa164e5f6afe81cf3
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 21 Apr 2018 13:50:25 -0700

sure

Diffstat:
MMakefile | 4++--
Mdefault.nix | 6++----
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ NAME ?= polyadvent BIN ?= $(NAME) PREFIX ?= /usr/local -CFLAGS = -ggdb -I src -Wall -Wextra -Weverything -Werror -std=c99 \ +CFLAGS = -ggdb -I src -Wall -Wextra -Werror -std=c99 \ -Wno-unused-function \ -Wno-unused-parameter \ -Wno-unused-variable \ @@ -48,4 +48,4 @@ nixbuild: nix-shell shell.nix --command 'make -j4' clean: - rm -f main.o $(OBJS) $(SHLIB) $(BIN) + rm -f src/main.o $(OBJS) $(SHLIB) $(BIN) diff --git a/default.nix b/default.nix @@ -1,11 +1,9 @@ -{ clangStdenv +{ stdenv , SDL2 , mesa }: -let - stdenv = clangStdenv; -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { name = "polyadvent"; version = "0.1";