X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e8d2f694e532c2bdce5e7ecc6b3709fdf6c3d68..c822ad5a5e30a21ca3340af644bf79804cf7c777:/samples/grid/makefile.unx diff --git a/samples/grid/makefile.unx b/samples/grid/makefile.unx index 3c5fee199e..b0bb5f0ebe 100644 --- a/samples/grid/makefile.unx +++ b/samples/grid/makefile.unx @@ -1,19 +1,7 @@ -# -# File: Makefile for samples -# Author: Robert Roebling -# Created: 1999 -# Updated: -# Copyright: (c) 1998 Robert Roebling -# -# This makefile requires a Unix version of wxWindows -# to be installed on your system. This is most often -# done typing "make install" when using the complete -# sources of wxWindows or by installing the two -# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm -# under Linux. -# - -CC = gcc +# Purpose: makefile for grid example (Unix) +# Created: 2000-03-15 + +CXX = $(shell wx-config --cxx) PROGRAM = grid @@ -24,12 +12,12 @@ OBJECTS = $(PROGRAM).o .SUFFIXES: .o .cpp .cpp.o : - $(CC) -c `wx-config --cflags` -o $@ $< + $(CXX) -c `wx-config --cxxflags` -o $@ $< all: $(PROGRAM) $(PROGRAM): $(OBJECTS) - $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -clean: +clean: rm -f *.o $(PROGRAM)