jer         14/07/18 21:14:42

  Modified:             Makefile
  Log:
  EAPI bump. Migrate to distutils-r1. Simplify files/Makefile.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

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

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/files/Makefile?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/files/Makefile?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/files/Makefile?r1=1.2&r2=1.3

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/switzerland/files/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile    8 May 2011 20:31:28 -0000       1.2
+++ Makefile    18 Jul 2014 21:14:42 -0000      1.3
@@ -1,18 +1,12 @@
 SRC = FastCollector.c
 OBJ = ${SRC:.c=.o}
 
-LIBS = -L/usr/lib -lpcap
-
-CFLAGS ?=
-LDFLAGS ?=
-
-CC = gcc
-LD = ${CC}
+LIBS = -lpcap
 
 all: FastCollector
 
 .c.o:
-       ${CC} -c ${CFLAGS} $<
+       $(CC) -c $(CFLAGS) $<
 
-FastCollector: ${OBJ}
-       ${LD} -o $@ ${CFLAGS} ${LDFLAGS} ${OBJ} ${LIBS}
+FastCollector: $(OBJ)
+       $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJ) $(LIBS)




Reply via email to