File: Makefile

package info (click to toggle)
bibutils 4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,512 kB
  • ctags: 1,340
  • sloc: ansic: 72,394; csh: 216; makefile: 117
file content (30 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
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
27
28
29
30
#
# bibutils unit tests MAKEFILE
#

CFLAGS     = -Wall -I ../lib
LIBDIR     = -L../lib
LIBS       = -static -lbibutils
PROGS      = newstr_test entities_test utf8_test

all: $(PROGS)

entities_test : entities_test.o
	$(CC) entities_test.o $(LIBDIR) $(LIBS) -o $@

utf8_test : utf8_test.o
	$(CC) utf8_test.o $(LIBDIR) $(LIBS) -o $@

newstr_test : newstr_test.o
	$(CC) newstr_test.o $(LIBDIR) $(LIBS) -o $@

test: entities_test newstr_test
	./newstr_test
	./entities_test
	./utf8_test

clean:
	rm -f *.o core 

realclean:
	rm -f *.o core $(PROGS)