Created
May 9, 2011 12:17
-
-
Save phelrine/962420 to your computer and use it in GitHub Desktop.
randlib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC = g++ | |
OBJS = linpack.o com.o randlib.o | |
.PHONY: all clean | |
all: librandlib.a | |
librandlib.a: $(OBJS) | |
ar cr librandlib.a $(OBJS) | |
ranlib librandlib.a | |
.c.o: | |
$(CC) -O2 -c $< | |
clean: | |
$(RM) librandlib.a *.o | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment