File: Makefile

package info (click to toggle)
gretl 2016d-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 48,620 kB
  • ctags: 22,779
  • sloc: ansic: 345,830; sh: 4,648; makefile: 2,712; xml: 570; perl: 364
file content (13 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (9)
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