Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/switzerland/files: Makefile
Date: Sun, 03 Aug 2008 12:45:04
Message-Id: E1KPcxK-0001cH-BP@stork.gentoo.org
cedk        08/08/03 12:45:02

  Added:                Makefile
  Log:
  New ebuild for bug #233662 thanks to Beau Henderson
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  net-misc/switzerland/files/Makefile

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/switzerland/files/Makefile?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/switzerland/files/Makefile?rev=1.1&content-type=text/plain

Index: Makefile
===================================================================
SRC = FastCollector.c
OBJ = ${SRC:.c=.o}

LIBS = -L/usr/lib -lpcap

CFLAGS ?=
LDFLAGS ?=

CC = gcc
LD = ${CC}

all: FastCollector

.c.o:
	${CC} -c ${CFLAGS} $<

FastCollector: ${OBJ}
	${LD} -o $@ ${LDFLAGS} ${OBJ} ${LIBS}