File: Makefile

package info (click to toggle)
mysql-query-browser 1.1.6-1sarge0
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 36,320 kB
  • ctags: 24,680
  • sloc: pascal: 203,479; xml: 136,561; ansic: 47,502; cpp: 28,926; sh: 12,433; objc: 4,823; java: 1,849; php: 1,485; python: 1,225; sql: 1,128; makefile: 872
file content (19 lines) | stat: -rw-r--r-- 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


CFLAGS=-I../../library/include `pkg-config glib-2.0 --cflags` `pcre-config --cflags` `mysql_config --cflags` -g
LIBS=../../library/source/libmysqlx.a `pkg-config glib-2.0 --libs` `pcre-config --libs` `mysql_config --libs`


ser: ser.o seri_test.c
	$(CC) $^ -o $@ $(LIBS) $(CFLAGS)


ser.o: input.h
	../autocode.py cser input.h --output-file ser.c
	$(CC) ser.c $(CFLAGS) -c



xml: input.h
	../autocode.py cxml input.h --output-file xml.c
	$(CC) xml.c `pkg-config libxml-2.0 glib-2.0 --cflags` `pcre-config --cflags` `mysql_config --cflags` $(CFLAGS) -c