Last change
on this file since 3381 was
2098,
checked in by jack, 19 years ago
|
Another take on getting pymetis to build with MinGW.
|
File size:
407 bytes
|
Rev | Line | |
---|
[2098] | 1 | ### |
---|
| 2 | # |
---|
| 3 | # Config |
---|
| 4 | |
---|
| 5 | CC = gcc |
---|
| 6 | CFLAGS = |
---|
| 7 | OBJS = random.o |
---|
| 8 | AR = ar rv |
---|
| 9 | RANLIB = ranlib |
---|
| 10 | |
---|
| 11 | ## Merge the extra functions specified here into the metis library |
---|
| 12 | merge: $(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 | |
---|
| 22 | clean: |
---|
| 23 | -rm -f $(OBJS) |
---|
| 24 | -rm -f *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.