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:
Robert Roebling
1999-08-11 17:40:09 +00:00
parent b80c8d89d6
commit 48b1d0ff4f
10 changed files with 280 additions and 59 deletions

View File

@@ -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: