kicad/common/makefile.macosx

28 lines
448 B
Plaintext
Raw Normal View History

2007-05-06 16:03:28 +00:00
## Makefile for common.a
CC = gcc
# Compiler flags.
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