Got library and demos building on mingw32 and ubuntu again

This commit is contained in:
2013-01-22 07:49:01 -05:00
parent 1590271691
commit f1c2baf795
27 changed files with 220 additions and 13852 deletions

View File

@@ -1,4 +1,4 @@
# This makefile is a bit hackish. I wrote it early in the AM.
# This makefile is a bit hackish. I wrote it early in the AM.
# Fohgiveuhness, please!!
ifndef $(CFG)
@@ -8,7 +8,7 @@ endif
ifndef $(OS)
OS=mingw32
endif
LIBNAME=sdlgame
PROJECTHOME=$(shell pwd)
SDL_CFLAGS=$(shell sdl-config --cflags)
@@ -21,7 +21,7 @@ EXESUFFIX=
LIBSUFFIX=
ifeq "$(OS)" "mingw32"
ADDL_CFLAGS=-rdynamic -mwindows -DOS_WIN32
ADDL_CFLAGS=-mwindows -DOS_WIN32
EXESUFFIX=.exe
LIBSUFFIX=.a
DEPMAKEFILE=Makefile.mingw32