/usr/share/doc/gretl-doc/examples/utils/FRED/Makefile is in gretl-doc 2016a-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | CC = gcc -Wall -O2
CURL_CFLAGS := $(shell curl-config --cflags)
CURL_LIBS := $(shell curl-config --libs)
XML_CFLAGS := $(shell pkg-config --cflags libxml-2.0)
XML_LIBS := $(shell pkg-config --libs libxml-2.0)
CFLAGS = $(CURL_CFLAGS) $(XML_CFLAGS)
LIBS = $(CURL_LIBS) $(XML_LIBS) -lm
fred2db: fred2db.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
fedstl.idx: fred2db
./fred2db
clean:
rm -f fred2db *.idx *.bin
|