Commit 77a18cce authored by Peje Nilsson's avatar Peje Nilsson
Browse files

Fix linking order

Fixes undefined references to `ffrprt` etc.
parent 5149c0ed
......@@ -47,6 +47,6 @@ install: ${BINFILES} ${SCRIPTS}
set -eu ; umask 2 ; ${CP} -fp ${SCRIPTS} $(BINFILES) ${INSTALL_DIR}
% : %.c
$(CC) $(CFLAGS) $(LFLAGS) -lcfitsio $< -o $@
$(CC) $(CFLAGS) $(LFLAGS) $< -o $@ -lcfitsio
Supports Markdown
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