File: Makefile

package info (click to toggle)
skksearch 0.0-25
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 228 kB
  • sloc: ansic: 1,079; makefile: 23; sh: 18
file content (15 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SRC = main.c err.c dic.c dic_dummy.c dic_plain.c dic_cdb.c dic_db.c
OBJ = main.o err.o dic.o dic_dummy.o dic_plain.o dic_cdb.o dic_db.o

CC = gcc
CFLAGS = -g -DSYSLOG -I../cdb-0.55 -I/usr/local/BerkeleyDB/include # -DDEBUG_FROM_TERMINAL=1
LDFLAGS = -L../cdb-0.55 -lcdb -L/usr/local/BerkeleyDB/lib -ldb


default all: skksearch

skksearch: $(OBJ)
	$(CC) $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS)

clean:
	rm -f *.o *~ core skksearch a.out