fixes to allow compilation with FreeBSD make

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-01-28 16:19:28 +00:00
parent 5375a1f5e8
commit 421a017108
2 changed files with 17 additions and 12 deletions

View File

@ -1,34 +1,38 @@
#
#####################################################################
# File: makefile.unx
# Purpose: Makefile for Unix wxWindows ports (both GUI and wxBase)
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
# Created: 1993
# Updated: 2001
# Version: $Id$
# Copyright:(c) 1993, AIAI, University of Edinburgh,
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
# Copyright:(c) 2001, Ron Lee
#
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
###################################################################
#####################################################################
include ./src/make.env
############## override make.env for PIC ##########################
#################### the implicit rules #############################
%.o : %.c
# NB: we use the old style suffix rules (.c.o) and not the GNU make
# implicit rules (%.o: %.c) because they are more portable, in
# particular the BSD make understands the former but not the
# latter
.SUFFIXES: .o .c .cpp .cxx .rsrc .r
.c.o:
$(CC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
%.o : %.cpp
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
%.o : %.cxx
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
%.r : %.rsrc
.rsrc.r:
$(DEREZ) $^ Carbon.r -useDF > $@
########################### Paths #################################
############################# Paths #################################
srcdir = @srcdir@
top_srcdir = @top_srcdir@

View File

@ -47,6 +47,7 @@ AROPTIONS = rcu
RANLIB = @RANLIB@
LD = @LD@
MAKEINFO = @MAKEINFO@
RM = rm -f
SHARED_LD = @SHARED_LD@