New makefile updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,6 +3,18 @@
|
||||
# Replace this with your own path if necessary
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
# Clears all default suffixes
|
||||
.SUFFIXES: .o .cpp .c .cxx
|
||||
|
||||
.c.o :
|
||||
$(CCC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
.cpp.o :
|
||||
$(CC) -c $(CPPFLAGS) -o $@ $<
|
||||
|
||||
.cxx.o :
|
||||
$(CC) -c $(CPPFLAGS) -o $@ $<
|
||||
|
||||
# this is for using the samples in ../samples/xxxxx
|
||||
pretop_srcdir = @top_srcdir@
|
||||
top_srcdir = ../$(pretop_srcdir)
|
||||
@@ -11,7 +23,7 @@ include ../../src/make.env
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
$(PROGRAM): $(OBJECTS) ../../lib/$(WXLIB)
|
||||
$(PROGRAM): $(OBJECTS) ../../lib/@WX_TARGET_LIBRARY@
|
||||
$(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS)
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user