File: Makefile.in

package info (click to toggle)
gretl 2022c-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 59,552 kB
  • sloc: ansic: 409,074; sh: 4,449; makefile: 3,222; cpp: 2,777; xml: 599; perl: 364
file content (36 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
topsrc = @top_srcdir@
EXDIR = $(topsrc)/addons/geoplot/examples

all: founders usa blue outlines edit seek 

founders: founders.inp founders.geojson founders.csv
	gretlcli -t founders.inp

usa: us.inp
	gretlcli -t us.inp

blue: states.shp states.dbf states.shx us_states_shp.inp
	gretlcli -t us_states_shp.inp

outlines: 
	gretlcli -t us_states_json.inp

seek:
	gretlcli -t seek_example.inp 

edit:
	gretlcli -t edit_example.inp

all: | symlinks

.PHONY : symlinks clean

symlinks:
	@for src in $(EXDIR)/*.* ; do \
	f=`basename $$src` ; \
	if ([ ! -f $$f ] || [ $$src -nt $$f ]) && ! [[ $$f =~ \.in$$ ]] ; then \
	ln -sf $$src . ; fi ; done

clean:
	rm -f string_table.txt *.plt *.dat us_modified.json founders_mod.json *~