File: Makefile

package info (click to toggle)
picturebook 0.0pre3-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 328 kB
  • ctags: 427
  • sloc: ansic: 2,717; makefile: 55; sh: 37; awk: 31
file content (15 lines) | stat: -rw-r--r-- 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CFLAGS = -DWITH_DISPLAY=1 -Wall -O2 -g -I/usr/X11R6/include -I/usr/local/include 
SRC = mchip.c capture.c dump.c sonypi.c pci.c yuv.c timer.c avi.c command.c display.c ptable.c jpeg.c
OBJ = $(SRC:.c=.o)
LIBS = `imlib-config --libs`

all: capture

capture: $(OBJ)
	$(CC) -o capture $(OBJ) $(LIBS)

proto:
	cat $(SRC) | awk -f mkproto.awk > proto.h

clean:
	rm -f $(OBJ) capture *~