A fits loader for the imlib2 library.
[zanmar/loader_fits] / Makefile
1 all: fits.so
2
3 fits.so: loader_fits.o
4         gcc -shared $< -lcfitsio -lSM -lICE -Wl,-soname -Wl,fits.so -o $@
5
6 loader_fits.o: loader_fits.c loader_common.h config.h
7         gcc -Wall -g -DHAVE_CONFIG_H -c -fPIC -DPIC -o $@ -I. -I../imlib2 -I../imlib2/src -I../imlib2/src/lib $<
8
9 config.h:
10         touch config.h