| # This file is generated by gyp; do not edit. |
| |
| TOOLSET := target |
| TARGET := nodesdl |
| DEFS_Default := |
| |
| # Flags passed to all source files. |
| CFLAGS_Default := \ |
| -I/usr/include/SDL \ |
| -D_GNU_SOURCE=1 \ |
| -D_REENTRANT |
| |
| # Flags passed to only C files. |
| CFLAGS_C_Default := |
| |
| # Flags passed to only C++ files. |
| CFLAGS_CC_Default := |
| |
| INCS_Default := |
| |
| OBJS := \ |
| $(obj).target/$(TARGET)/node/node_modules/node-sdl/src/helpers.o \ |
| $(obj).target/$(TARGET)/node/node_modules/node-sdl/src/nodesdl.o |
| |
| # Add to the list of files we specially track dependencies for. |
| all_deps += $(OBJS) |
| |
| # CFLAGS et al overrides must be target-local. |
| # See "Target-specific Variable Values" in the GNU Make manual. |
| $(OBJS): TOOLSET := $(TOOLSET) |
| $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) |
| $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) |
| |
| # Suffix rules, putting all outputs into $(obj). |
| |
| $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD |
| @$(call do_cmd,cxx,1) |
| |
| # Try building from generated source, too. |
| |
| $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD |
| @$(call do_cmd,cxx,1) |
| |
| $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD |
| @$(call do_cmd,cxx,1) |
| |
| # End of this set of suffix rules |
| ### Rules for final target. |
| LDFLAGS_Default := \ |
| -L/usr/lib \ |
| -lSDL \ |
| -lpthread \ |
| -lSDL_ttf \ |
| -lSDL_image |
| |
| LIBS := |
| |
| $(obj).target/node/node_modules/node-sdl/libnodesdl.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE)) |
| $(obj).target/node/node_modules/node-sdl/libnodesdl.a: LIBS := $(LIBS) |
| $(obj).target/node/node_modules/node-sdl/libnodesdl.a: TOOLSET := $(TOOLSET) |
| $(obj).target/node/node_modules/node-sdl/libnodesdl.a: $(OBJS) FORCE_DO_CMD |
| $(call do_cmd,alink_thin) |
| |
| all_deps += $(obj).target/node/node_modules/node-sdl/libnodesdl.a |
| # Add target alias |
| .PHONY: nodesdl |
| nodesdl: $(obj).target/node/node_modules/node-sdl/libnodesdl.a |
| |
| # Add target alias to "all" target. |
| .PHONY: all |
| all: nodesdl |
| |