projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import32.lib is always used by bakefile
[wxWidgets.git]
/
samples
/
dialogs
/
makefile.unx
diff --git
a/samples/dialogs/makefile.unx
b/samples/dialogs/makefile.unx
index 9c9fb558689eb4745b5890cba4dedb3b6e6c97f8..c9be335bcb111dc0df141dba2ea3fbcac4b10a5b 100644
(file)
--- a/
samples/dialogs/makefile.unx
+++ b/
samples/dialogs/makefile.unx
@@
-15,7
+15,7
@@
PROGRAM = dialogs
PROGRAM = dialogs
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
OBJECTS = $(PROGRAM).o
OBJECTS = $(PROGRAM).o
@@
-24,12
+24,12
@@
OBJECTS = $(PROGRAM).o
.SUFFIXES: .o .cpp
.cpp.o :
.SUFFIXES: .o .cpp
.cpp.o :
- $(C
C) -c `wx-config --c
flags` -o $@ $<
+ $(C
XX) -c `wx-config --cxx
flags` -o $@ $<
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
- $(C
C
) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
+ $(C
XX
) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
clean:
rm -f *.o $(PROGRAM)
clean:
rm -f *.o $(PROGRAM)