git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3716
d7cf8633-e32d-0410-b094-
e92efae38249
#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
-$(CMD_RM) *.o
-$(CMD_RM) *.d
--include *.d
+
+##### Dependency files #####
+
+DEPEND_FILES != ls *.d
+.for i in $(DEPEND_FILES)
+. include "$i"
+.endfor
os = "Windows";
#elif defined(__NetBSD__)
os = "NetBSD";
+#elif defined(__OpenBSD__)
+ os = "OpenBSD";
#else
os = "Unknown";
#endif