File: Makefile.test

package info (click to toggle)
pcb-rnd 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 29,260 kB
  • sloc: ansic: 198,059; sh: 5,767; yacc: 5,568; makefile: 2,519; awk: 1,737; lex: 1,073; python: 519; lisp: 169; tcl: 67; xml: 40; perl: 34; ruby: 5
file content (15 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LHT=../../src_3rd/liblihata
HT=../../src_3rd/genht
CFLAGS = -Wall -g -I../../src_3rd -DTESTER
LDFLAGS =
OBJS =  $(LHT)/parser.o $(LHT)/lihata.o  $(HT)/htsp.o $(HT)/hash.o \
  $(LHT)/dom.o $(LHT)/dom_list.o $(LHT)/dom_hash.o $(LHT)/dom_table.o \
  $(LHT)/tree_path.o $(LHT)/tree.o $(LHT)/tree_list.o $(LHT)/tree_hash.o \
  $(LHT)/tree_table.o $(LHT)/hash_str.o

lht_template: lht_template.o $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $^

lht_template.o: lht_template.c
	$(CC) -c -o $@ $(CFLAGS) lht_template.c