X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e909371890f73eb9b3ca33d15960d9305ca1b4c2..6d26dc89c5e7a421f4f8807728928eee91aa5f7e:/samples/minifram/makefile.unx diff --git a/samples/minifram/makefile.unx b/samples/minifram/makefile.unx index 21cab3c677..82971a6310 100644 --- a/samples/minifram/makefile.unx +++ b/samples/minifram/makefile.unx @@ -1,21 +1,9 @@ -# -# 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 - -PROGRAM = test +# Purpose: makefile for minifram example (Unix) +# Created: 2000-03-15 + +CXX = $(shell wx-config --cxx) + +PROGRAM = minifram OBJECTS = $(PROGRAM).o @@ -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)