File: Makefile

package info (click to toggle)
gretl 2025a-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 64,792 kB
  • sloc: ansic: 425,462; sh: 4,916; makefile: 3,251; cpp: 2,777; xml: 606; perl: 364
file content (13 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC = gcc -Wall -O2

XML_CFLAGS := $(shell pkg-config --cflags libxml-2.0)
XML_LIBS := $(shell pkg-config --libs libxml-2.0)

frb2db: frb2db.c
	$(CC) $(XML_CFLAGS) -o $@ $< $(XML_LIBS)

idx: frb2db 
	./frb2db H15_data.xml

clean:
	rm -f frb2db *.idx *.bin