File: Makefile.base

package info (click to toggle)
elinks 0.10.4-7.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 16,156 kB
  • ctags: 7,915
  • sloc: ansic: 74,517; sh: 3,358; makefile: 1,373; perl: 932; yacc: 295; lisp: 125; awk: 79; ruby: 21
file content (16 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## Base file for Makefile.am files in the tree, contains common stuff.
## $Id: Makefile.base,v 1.7 2004/04/29 14:17:12 jonas Exp $

INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src

# The author of automake should be shot, quartered and forced to code in COBOL
# for the rest of his days for the **** he designed - anything forcing me to
# -I. -I$(srcdir) regardless if I want or not is just idiotic. Another totally
# dumb thing is that you can't just use @CONFIG_INCLUDE_SPEC@ in your own .am.

COMPILE = $(CC) @DEFS@ $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)

# Rule for getting test dependencies right. This is a workaround since
# automake doesn't support defining subdirs sources.
testutils:
	make -C $(top_builddir)/src/util CPPFLAGS="-DDEBUG"