File: makefile

package info (click to toggle)
wise 2.4.1-21
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 27,140 kB
  • sloc: ansic: 276,365; makefile: 1,003; perl: 886; lex: 93; yacc: 81; sh: 24
file content (26 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (3)
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


.SUFFIXES :  .dy

CC = cc
CFLAGS += $(CPPFLAGS) -g3 -c -pthread  -DUNIX  -I../base/ -I../dynlibsrc `pkg-config --cflags glib-2.0`
LDFLAGS += -g -L../base/ -L../dynlibsrc  -lm `pkg-config --libs glib-2.0`
AR_OPTIONS = ru

RANLIB_NEEDED = 0


.c.o :
	$(CC) $(CFLAGS) $(INCFLAGS) $?

DFLAGS = -l -n Wise2_ -a _api.h -b _api.t -latex -perl

.dy.c : 
	dyc  $(DFLAGS) $<	

.dy.o :
	dyc $(DFLAGS) $<	
	$(CC) $(CFLAGS) $*.c

init:
	dyc $(DFLAGS) *.dy