Subversion Repositories eduke32

Rev

Rev 214 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 214 Rev 220
Line 40... Line 40...
40
	-I$(INC:/=) -I$(EINC:/=) -I$(SRC)jmact -I$(SRC)jaudiolib -I../jfaud/inc
40
	-I$(INC:/=) -I$(EINC:/=) -I$(SRC)jmact -I$(SRC)jaudiolib -I../jfaud/inc
41
OURCXXFLAGS=-fno-exceptions -fno-rtti
41
OURCXXFLAGS=-fno-exceptions -fno-rtti
42
LIBS=-lm
42
LIBS=-lm
43
ifneq (0,$(JFAUD))
43
ifneq (0,$(JFAUD))
44
	JFAUDLIBS=../jfaud/libjfaud.a ../jfaud/mpadec/libmpadec.a
44
	JFAUDLIBS=../jfaud/libjfaud.a ../jfaud/mpadec/libmpadec.a
-
 
45
	OURCFLAGS+=-DJFAUD
45
endif
46
endif
46
47
47
NASMFLAGS=-s #-g
48
NASMFLAGS=-s #-g
48
EXESUFFIX=
49
EXESUFFIX=
49
50
Line 205... Line 206...
205
$(OBJ)%.$o: $(SRC)jmact/%.c
206
$(OBJ)%.$o: $(SRC)jmact/%.c
206
	$(CC) $(CFLAGS) $(OURCFLAGS) -c $< -o $@ 2>&1
207
	$(CC) $(CFLAGS) $(OURCFLAGS) -c $< -o $@ 2>&1
207
$(OBJ)%.$o: $(SRC)jaudiolib/%.c
208
$(OBJ)%.$o: $(SRC)jaudiolib/%.c
208
	$(CC) $(CFLAGS) $(OURCFLAGS) -c $< -o $@ 2>&1
209
	$(CC) $(CFLAGS) $(OURCFLAGS) -c $< -o $@ 2>&1
209
 
210
-
 
211
ifeq (1,$(JFAUD))
-
 
212
$(OBJ)%.$o: $(SRC)misc/%.rc
-
 
213
	windres -i $< -o $@ --include-dir=$(EINC) --include-dir=$(SRC) -DJFAUD
-
 
214
else
210
$(OBJ)%.$o: $(SRC)misc/%.rc
215
$(OBJ)%.$o: $(SRC)misc/%.rc
211
	windres -i $< -o $@ --include-dir=$(EINC) --include-dir=$(SRC)
216
	windres -i $< -o $@ --include-dir=$(EINC) --include-dir=$(SRC)
-
 
217
endif
212
 
218
213
$(OBJ)%.$o: $(SRC)util/%.c
219
$(OBJ)%.$o: $(SRC)util/%.c
214
	$(CC) $(CFLAGS) $(OURCFLAGS) -c $< -o $@ 2>&1
220
	$(CC) $(CFLAGS) $(OURCFLAGS) -c $< -o $@ 2>&1
215
 
221
 
216
$(OBJ)%.$o: $(RSRC)%.c
222
$(OBJ)%.$o: $(RSRC)%.c