projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git]
/
samples
/
validate
/
makefile.unx
diff --git
a/samples/validate/makefile.unx
b/samples/validate/makefile.unx
index ef20878024252dfd1817dd7831498dee453a8b18..ab717a272570cb47e92f31c0bd934927990d0e62 100644
(file)
--- a/
samples/validate/makefile.unx
+++ b/
samples/validate/makefile.unx
@@
-1,7
+1,7
@@
# Purpose: makefile for validate example (Unix)
# Created: 2000-03-14
# Purpose: makefile for validate example (Unix)
# Created: 2000-03-14
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = validate
PROGRAM = validate
@@
-12,12
+12,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)