File: Makefile.examples

package info (click to toggle)
libcgic 1.07-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 272 kB
  • ctags: 206
  • sloc: ansic: 1,230; makefile: 74
file content (20 lines) | stat: -rw-r--r-- 429 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
#You may wish to add -DNO_UNISTD and -DNO_SYSTEM to CFLAGS if
#your system lacks the /usr/include/unistd.h header file
#or the system() function, respectively. Non-unix systems
#will also definitely have different linker syntax.

CFLAGS=
CC=gcc
LIBS=-lcgic

all: cgictest capture

cgictest: cgictest.o
	gcc cgictest.o -o cgictest ${LIBS}

capture: capture.o
	gcc capture.o -o capture ${LIBS}

clean:
	rm -f *.o cgictest capture