File: Makefile

package info (click to toggle)
gprolog 1.4.5.0-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 7,924 kB
  • sloc: ansic: 55,584; perl: 18,501; sh: 3,401; makefile: 1,114; asm: 20
file content (20 lines) | stat: -rw-r--r-- 283 bytes parent folder | download
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