Subversion Repositories eduke32

Rev

Rev 7800 | Rev 7976 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7800 Rev 7839
Line 826... Line 826...
826
endif
826
endif
827
827
828
828
829
#### Final setup
829
#### Final setup
830
830
831
COMPILERFLAGS += -I$(engine_inc) -I$(mact_inc) -I$(audiolib_inc) -I$(enet_inc) -I$(glad_inc)
831
COMPILERFLAGS += -I$(engine_inc) -I$(mact_inc) -I$(audiolib_inc) -I$(enet_inc) -I$(glad_inc) -MP -MMD
832
ifneq (0,$(USE_PHYSFS))
832
ifneq (0,$(USE_PHYSFS))
833
    COMPILERFLAGS += -I$(physfs_inc) -DUSE_PHYSFS
833
    COMPILERFLAGS += -I$(physfs_inc) -DUSE_PHYSFS
834
endif
834
endif
835
835
836
836
Line 928... Line 928...
928
endef
928
endef
929
929
930
$(foreach i,$(games),$(foreach j,$(roles),$(eval $(call BUILDRULE,$i,$j))))
930
$(foreach i,$(games),$(foreach j,$(roles),$(eval $(call BUILDRULE,$i,$j))))
931
931
932
932
933
include $(lpeg_root)/Dependencies.mak
-
 
934
include $(engine_root)/Dependencies.mak
-
 
935
include $(duke3d_root)/Dependencies.mak
-
 
936
include $(sw_root)/Dependencies.mak
-
 
937
-
 
938
-
 
939
#### Rules
933
#### Rules
940
934
941
$(ebacktrace_dll): platform/Windows/src/backtrace.c
935
$(ebacktrace_dll): platform/Windows/src/backtrace.c
942
	$(COMPILE_STATUS)
936
	$(COMPILE_STATUS)
943
	$(RECIPE_IF) $(CC) $(CONLYFLAGS) -O2 -ggdb -shared -Wall -Wextra -static-libgcc -I$(engine_inc) -o $@ $^ -lbfd -liberty -limagehlp $(RECIPE_RESULT_COMPILE)
937
	$(RECIPE_IF) $(CC) $(CONLYFLAGS) -O2 -ggdb -shared -Wall -Wextra -static-libgcc -I$(engine_inc) -o $@ $^ -lbfd -liberty -limagehlp $(RECIPE_RESULT_COMPILE)
Line 982... Line 976...
982
976
983
### Main Rules
977
### Main Rules
984
978
985
define OBJECTRULES
979
define OBJECTRULES
986
980
-
 
981
include $(wildcard $($1_obj)/*.d)
-
 
982
987
$$($1_obj)/%.$$o: $$($1_src)/%.nasm | $$($1_obj)
983
$$($1_obj)/%.$$o: $$($1_src)/%.nasm | $$($1_obj)
988
	$$(COMPILE_STATUS)
984
	$$(COMPILE_STATUS)
989
	$$(RECIPE_IF) $$(AS) $$(ASFLAGS) $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
985
	$$(RECIPE_IF) $$(AS) $$(ASFLAGS) $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
990
986
991
$$($1_obj)/%.$$o: $$($1_src)/%.yasm | $$($1_obj)
987
$$($1_obj)/%.$$o: $$($1_src)/%.yasm | $$($1_obj)