aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/Makefile2
-rw-r--r--desktop/main.cpp8
2 files changed, 10 insertions, 0 deletions
diff --git a/desktop/Makefile b/desktop/Makefile
index bbd5ea9..dd422b6 100644
--- a/desktop/Makefile
+++ b/desktop/Makefile
@@ -10,6 +10,8 @@ ifeq ($(UNAME),Darwin)
CFLAGS=-g -Wall -I../common -I/opt/local/include
endif
ifneq (,$(findstring MINGW,$(UNAME)))
+ # to distribute .exe add -static-libgcc -static-libstdc++ flags to avoid
+ # having to distribute gcc and stdc++ .dll's
LDFLAGS=-lglew32 -lglut -lglu32 -lopengl32
CFLAGS=-g -Wall -I../common
endif
diff --git a/desktop/main.cpp b/desktop/main.cpp
index ec5f86e..d49416b 100644
--- a/desktop/main.cpp
+++ b/desktop/main.cpp
@@ -1,3 +1,11 @@
+/*
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <josh@slashdev.ca> wrote this file. As long as you retain this notice you
+ * can do whatever you want with this stuff. If we meet some day, and you think
+ * this stuff is worth it, you can buy me a beer in return Josh Kropf
+ * ----------------------------------------------------------------------------
+ */
#include <fstream>
#include <string>
#include <cstdio>