From 4973957530274b07f20754945985417c9d03d0de Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 17 Sep 2015 21:55:58 -0500 Subject: [PATCH] Why not, man --- src/Makefile | 7 +++---- src/{test.c => iflist.c} | 0 2 files changed, 3 insertions(+), 4 deletions(-) rename src/{test.c => iflist.c} (100%) diff --git a/src/Makefile b/src/Makefile index f8cd13f..2c1f466 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,10 +10,9 @@ LDFLAGS = HEADERS = kiss.h ax25.h ax25/if.h ax25/macros.h ax25/proto.h \ ax25/address.h ax25/frame.h list.h hash.h dict.h -OBJS = kiss.o ax25.o if.o address.o frame.o list.o hash.o dict.o \ - test.o +OBJS = kiss.o ax25.o if.o address.o frame.o list.o hash.o dict.o -EXAMPLES = test decode +EXAMPLES = iflist decode AR = $(CROSS)ar RANLIB = $(CROSS)ranlib @@ -26,7 +25,7 @@ INSTALL = /usr/bin/install all: $(EXAMPLES) $(EXAMPLES): %: %.c $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) -o $@ + $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $< -o $@ $(OBJS): %.o: %.c $(HEADERS_BUILD) $(CC) $(CFLAGS) -c $< diff --git a/src/test.c b/src/iflist.c similarity index 100% rename from src/test.c rename to src/iflist.c