source: anuga_work/development/pymetis/win32/Makefile @ 4113

Last change on this file since 4113 was 2098, checked in by jack, 19 years ago

Another take on getting pymetis to build with MinGW.

File size: 407 bytes
Line 
1###
2#
3# Config
4
5CC = gcc
6CFLAGS = 
7OBJS = random.o
8AR = ar rv
9RANLIB = ranlib
10
11## Merge the extra functions specified here into the metis library
12merge: $(OBJS) ../$(METIS_DIR)/libmetis.a
13        $(AR) ../$(METIS_DIR)/libmetis.a $(OBJS)
14        $(RANLIB) ../$(METIS_DIR)/libmetis.a
15
16../$(METIS_DIR)/libmetis.a:
17        make -C ../$(METIS_DIR)/Lib CC=gcc
18
19%.o: %.c
20        $(CC) $(CFLAGS) -c -o $@ $<
21
22clean:
23        -rm -f $(OBJS)
24        -rm -f *~
Note: See TracBrowser for help on using the repository browser.