]> de.git.xonotic.org Git - xonotic/darkplaces.git/blob - makefile.bsd
Updated Transfusion map list for version 1.1 beta3
[xonotic/darkplaces.git] / makefile.bsd
1 #####  DP_MAKE_TARGET autodetection and arch specific variables ##### 
2
3 .ifndef DP_MAKE_TARGET
4
5 DP_MAKE_TARGET=bsd
6
7 .endif
8
9
10 # Command used to delete files
11 CMD_RM=$(CMD_UNIXRM)
12
13
14 # BSD configuration
15 .if $(DP_MAKE_TARGET) == "bsd"
16
17 OBJ_SOUND=$(OBJ_BSDSOUND)
18 LIB_SOUND=$(LIB_BSDSOUND)
19 OBJ_CD=$(OBJ_BSDCD)
20
21 OBJ_CL=$(OBJ_GLX)
22
23 LDFLAGS_CL=$(LDFLAGS_BSDCL)
24 LDFLAGS_SV=$(LDFLAGS_BSDSV)
25
26 EXE_CL=$(EXE_UNIXCL)
27 EXE_SV=$(EXE_UNIXSV)
28 EXE_SDL=$(EXE_UNIXSDL)
29
30 .endif
31
32
33 ##### BSD Make specific definitions #####
34
35 MAKE:=$(MAKE) -f makefile.bsd
36
37 DO_LD=$(CC) -o $@ $> $(LDFLAGS)
38
39
40 ##### Definitions shared by all makefiles #####
41 .include "makefile.inc"
42
43
44 ##### Dependency files #####
45
46 DEPEND_FILES != ls *.d
47 .for i in $(DEPEND_FILES)
48 .       include "$i"
49 .endfor