a6f762a646
"CXX = $(shell wx-config --cxx)" in all makefile.unx git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
25 lines
401 B
Plaintext
25 lines
401 B
Plaintext
# Purpose: makefile for multicell example (Unix)
|
|
# Created 2000-07-28
|
|
|
|
CXX = $(shell wx-config --cxx)
|
|
|
|
PROGRAM = mtest
|
|
|
|
OBJECTS = $(PROGRAM).o ../src/multicell.o
|
|
EXTRAINC=-I../include
|
|
|
|
# implementation
|
|
|
|
.SUFFIXES: .o .cpp
|
|
|
|
.cpp.o :
|
|
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
|
|
|
all: $(PROGRAM)
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
|
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
|
|
|
clean:
|
|
rm -f *.o $(PROGRAM)
|