Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 17:26:11 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r203495 - user/luigi/ipfw3-head/sys/netinet/ipfw/test
Message-ID:  <201002041726.o14HQBog081673@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Thu Feb  4 17:26:11 2010
New Revision: 203495
URL: http://svn.freebsd.org/changeset/base/203495

Log:
  adapt to gmake and linux

Modified:
  user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile

Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile
==============================================================================
--- user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile	Thu Feb  4 17:13:38 2010	(r203494)
+++ user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile	Thu Feb  4 17:26:11 2010	(r203495)
@@ -1,4 +1,5 @@
 # Makefile for building userland tests
+# this is written in a form compatible with gmake
 
 SCHED_SRCS = test_dn_sched.c
 SCHED_SRCS += dn_sched_fifo.c
@@ -16,15 +17,15 @@ HEAP_OBJS=$(HEAP_SRCS:.c=.o)
 VPATH=	.:..
 
 CFLAGS = -I.. -I. -Wall -Werror -O3 -DIPFW
-TARGETS= test_heap test_sched
+TARGETS= test_sched # no test_heap by default
 
 all:	$(TARGETS)
 
 test_heap : $(HEAP_OBJS)
-	$(CC) -o $@ $>
+	$(CC) -o $@ $(HEAP_OBJS)
 
 test_sched : $(SCHED_OBJS)
-	$(CC) -o $@ $>
+	$(CC) -o $@ $(SCHED_OBJS)
 
 $(SCHED_OBJS): dn_test.h
 main.o: mylist.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002041726.o14HQBog081673>