X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f555861b7e50f335c7b929bb76be38e9ebd69c5..77c8787c164beb31e6a0eafbd3215bc377af6946:/samples/minimal/makefile.unx diff --git a/samples/minimal/makefile.unx b/samples/minimal/makefile.unx index 7365f9c19c..9e8632dca1 100644 --- a/samples/minimal/makefile.unx +++ b/samples/minimal/makefile.unx @@ -1,16 +1,71 @@ -# -# File: makefile.unx -# Author: Julian Smart -# Created: 1998 -# Updated: -# Copyright: (c) 1998 Julian Smart -# -# "%W% %G%" -# -# Makefile for minimal example (UNIX). - -include ../../src/makeprog.env - -PROGRAM=minimal - -OBJECTS=$(PROGRAM).o +# ========================================================================= +# This makefile was generated by +# Bakefile 0.2.1 (http://bakefile.sourceforge.net) +# Do not modify, all changes will be overwritten! +# ========================================================================= + + + +# ------------------------------------------------------------------------- +# These are configurable options: +# ------------------------------------------------------------------------- + +# C++ compiler +CXX = g++ + +# Standard flags for C++ +CXXFLAGS = + +# Standard preprocessor flags (common for CC and CXX) +CPPFLAGS = + +# Standard linker flags +LDFLAGS = + +# Location and arguments of wx-config script +WX_CONFIG = wx-config + +# C++ flags to use with wxWidgets code +WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags` + + + +# ------------------------------------------------------------------------- +# Do not modify the rest of this file! +# ------------------------------------------------------------------------- + +### Variables: ### + +CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD +MINIMAL_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS) +MINIMAL_OBJECTS = \ + minimal_minimal.o + +### Conditionally set variables: ### + + + +### Targets: ### + +all: minimal + +install: all + +uninstall: + +clean: + rm -f ./*.o + rm -f ./*.d + rm -f minimal + +minimal: $(MINIMAL_OBJECTS) + $(CXX) -o $@ $(MINIMAL_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base` + +minimal_minimal.o: ./minimal.cpp + $(CXX) -c -o $@ $(MINIMAL_CXXFLAGS) $(CPPDEPS) $< + +.PHONY: all install uninstall clean + + +# Dependencies tracking: +-include ./*.d