File: Makefile

package info (click to toggle)
gprolog 1.5.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,912 kB
  • sloc: ansic: 57,412; perl: 18,500; sh: 3,677; makefile: 1,123; asm: 97
file content (20 lines) | stat: -rw-r--r-- 283 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
GPLC = gplc
#CFLAGS='-Wall -g'
CFLAGS=-O


EXECS=examp new_main

all: $(EXECS)

examp: examp.pl examp_c.c
	$(GPLC) --new-top-level -C '$(CFLAGS)' examp.pl examp_c.c

new_main: new_main.pl new_main_c.c
	$(GPLC) -C '$(CFLAGS)' new_main.pl new_main_c.c

clean:
	rm -f $(EXECS) *.exe