2007-05-06 16:03:28 +00:00
|
|
|
## Makefile for common.a
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
# Compiler flags.
|
2007-05-28 18:09:49 +00:00
|
|
|
CPPFLAGS = -Wall -O2 -I./ -I../include `wx-config --cxxflags`
|
|
|
|
CPPFLAGS += -arch i386 -arch ppc
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
|
|
all: common.a
|
|
|
|
|
|
|
|
include makefile.include
|
|
|
|
|
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
common.a: $(OBJECTS) makefile.macosx makefile.include
|
|
|
|
rm -f $@
|
|
|
|
ar -rv $@ $(OBJECTS)
|
|
|
|
ranlib $@
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o; rm -f *~; rm core; rm *.bak; rm *.obj
|
|
|
|
rm -f common.a
|
|
|
|
|