Commit f640d9ae authored by Andreas Freise's avatar Andreas Freise
Browse files

making formulc only compile onjects.

parent 3e7edb35
.PHONY: formulc
# set the default compiler
ifeq "$(CC)" ""
CC = gcc
......@@ -22,12 +25,12 @@ ifeq ($(ARCH),mac)
CFLAGS = -Wall -W -pipe -O3 -arch $(CPUARCH) -mmacosx-version-min=10.5 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -funroll-loops
endif
formulc : formulc.o standalone.o random.o
ifeq "$(CC)" "icc"
$(CC) -o formulc formulc.o standalone.o random.o -lguide -lpthread
else
$(CC) -o formulc formulc.o standalone.o random.o -lm
endif
formulc : formulc.o random.o
#ifeq "$(CC)" "icc"
# $(CC) -o formulc formulc.o standalone.o random.o -lguide -lpthread
#else
# $(CC) -o formulc formulc.o standalone.o random.o -lm
#endif
formumr.o : formulc.c formulc.h
$(CC) -c $(CFLAGS) formulc.c -o formumr.o -DMY_RND
formulc.o : formulc.c formulc.h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment