1# File: Makefile 2# Author: John Labenski, J Winwood 3# Created: 2002 4# Updated: 5# Copyright: (c) 2002 Lomtick Software. All rights reserved. 6# 7# Makefile for wxLuaBinding library using gmake 8 9# Override this on the command line to use your own wxluasetup.h 10WXLUASETUP = wxluasetup.h 11 12# ---------------------------------------------------------------------------- 13# Set path to root of wxLua 14WXLUA_DIR = ../../.. 15 16# ---------------------------------------------------------------------------- 17# Include wxLua settings using wx-config for wxWidgets parameters 18 19include $(WXLUA_DIR)/build/Makefile_wx-config.in 20 21# ---------------------------------------------------------------------------- 22 23WXLUA_TARGET_LIBNAME = lib$(WXLUABINDRICHTEXT_LIB) 24 25# ---------------------------------------------------------------------------- 26 27HEADERS = 28SOURCES = \ 29 wxrichtext_bind.cpp 30 31OBJECTS=$(SOURCES:.cpp=.o) 32DEPFILES=$(OBJECTS:.o=.d) 33 34# ---------------------------------------------------------------------------- 35 36.cpp.o: 37 $(CXX) -include $(WXLUASETUP) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $< 38 39all: $(WXLUA_TARGET_LIB_STATIC) $(WXLUA_TARGET_LIB_SHARED) 40 41clean: cleanlib 42 43# ---------------------------------------------------------------------------- 44# Include wxLua targets using wx-config for wxWidgets parameters 45 46include $(WXLUA_DIR)/build/Makefile_wx-config_targets.in 47 48-include $(DEPFILES) 49