File: Makefile

package info (click to toggle)
came 1.9-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 224 kB
  • ctags: 214
  • sloc: ansic: 1,876; makefile: 67
file content (35 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
srcdir=.

ROOT=
prefix=/usr/local
exec_prefix=${prefix}
bindir=$(ROOT)${exec_prefix}/bin
mandir=$(ROOT)${prefix}/man

CC=gcc
CFLAGS=-O3 -g -Wall -I$(srcdir)/.. -I.. -D_GNU_SOURCE `giblib-config --cflags`

INSTALL=/usr/bin/install -c
INSTALL_PROGRAM=${INSTALL}
INSTALL_DATA=${INSTALL} -m 644
INSTALL_DIR=mkdir -p

PROGS=camE

OBJS=webcam.o parseconfig.o

##########################################################################

all build: $(PROGS)

camE: $(OBJS)
	$(CC) $(CFLAGS) -o $@ $(OBJS) -lgiblib -lImlib2 -lcurl

install: all
	$(INSTALL_DIR) $(bindir)
	$(INSTALL_PROGRAM) camE $(bindir)

clean:
	-rm -f $(OBJS) *.moc *~ core* *.bak TAGS camE

dep depend install: