From: molivier Date: Wed, 10 Dec 2003 08:05:25 +0000 (+0000) Subject: OpenBSD support wasn't very far away... X-Git-Tag: xonotic-v0.1.0preview~6216 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e526d9653bdf0d6783d4383ec0c3528fd4a487b2;p=xonotic%2Fdarkplaces.git OpenBSD support wasn't very far away... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3716 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.bsd b/makefile.bsd index 404e718d..95bf677a 100644 --- a/makefile.bsd +++ b/makefile.bsd @@ -3,7 +3,7 @@ #choose the compiler you want to use CC=gcc -MAKE:=$(MAKE) -f $(.PARSEFILE) +MAKE:=$(MAKE) -f makefile.bsd #recommended for: anyone not using ALSA 0.5 #OBJ_BSDSOUND=snd_oss.o snd_dma.o snd_mix.o snd_mem.o @@ -174,4 +174,10 @@ clean: -$(CMD_RM) *.o -$(CMD_RM) *.d --include *.d + +##### Dependency files ##### + +DEPEND_FILES != ls *.d +.for i in $(DEPEND_FILES) +. include "$i" +.endfor diff --git a/sys_shared.c b/sys_shared.c index 18628ef6..881c560e 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -105,6 +105,8 @@ void Sys_Shared_EarlyInit(void) os = "Windows"; #elif defined(__NetBSD__) os = "NetBSD"; +#elif defined(__OpenBSD__) + os = "OpenBSD"; #else os = "Unknown"; #endif