mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-21 17:20:57 +03:00
Zernike works
This commit is contained in:
@@ -1,23 +1,15 @@
|
||||
LOADLIBES = -lm -lgsl -lgslcblas
|
||||
SRCS = zernike.c zernikeR.c zernike_annular.c
|
||||
SRCS = zernike.c zernikeR.c zernike_annular.c Z-BTA_test.c simple_list.c spots.c
|
||||
CC = gcc
|
||||
DEFINES = -D_GNU_SOURCE
|
||||
#-D_XOPEN_SOURCE=501
|
||||
CXX = gcc
|
||||
CFLAGS = -Wall -Werror $(DEFINES)
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
all : zernike btatest
|
||||
zernike : $(OBJS) test.o
|
||||
$(CC) $(CFLAGS) test.o $(OBJS) $(LOADLIBES) -o zernike
|
||||
btatest : $(OBJS) Z-BTA_test.o simple_list.o
|
||||
$(CC) $(CFLAGS) Z-BTA_test.o simple_list.o $(OBJS) $(LOADLIBES) -o btatest
|
||||
|
||||
all : $(OBJS)
|
||||
$(CC) $(CFLAGS) $(OBJS) $(LOADLIBES) -o btatest
|
||||
clean:
|
||||
/bin/rm -f *.o *~
|
||||
depend:
|
||||
$(CXX) -MM $(SRCS)
|
||||
|
||||
### <DEPENDENCIES ON .h FILES GO HERE>
|
||||
# name1.o : header1.h header2.h ...
|
||||
test.o zernike.o zernikeR.o zernike_annular.o Z-BTA_test.o : zernike.h
|
||||
zernike.o zernikeR.o zernike_annular.o : zern_private.h
|
||||
simple_list.o Z-BTA_test.o : simple_list.h
|
||||
|
||||
Reference in New Issue
Block a user