From 1e9df58f2f08897959c49b54795f32a8343cef05 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Sun, 11 Jun 2006 12:41:11 +0000 Subject: [PATCH] More name changing --- Makefile | 20 ++++++++++---------- dnstun.c => iodine.c | 0 dnstund.c => iodined.c | 0 3 files changed, 10 insertions(+), 10 deletions(-) rename dnstun.c => iodine.c (100%) rename dnstund.c => iodined.c (100%) diff --git a/Makefile b/Makefile index cef0823..a374bc4 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,26 @@ CC = gcc -DNS = iodine -DNSOBJS = dnstun.o tun.o dns.o read.o -DNSD = iodined -DNSDOBJS = dnstund.o tun.o dnsd.o read.o +CLIENT = iodine +CLIENTOBJS = iodine.o tun.o dns.o read.o +SERVER = iodined +SERVEROBJS = iodined.o tun.o dnsd.o read.o OS = `uname | tr "a-z" "A-Z"` LDFLAGS = -lz CFLAGS = -c -g -Wall -D$(OS) -all: stateos $(DNS) $(DNSD) +all: stateos $(CLIENT) $(SERVER) stateos: @echo OS is $(OS) -$(DNS): $(DNSOBJS) +$(CLIENT): $(CLIENTOBJS) @echo LD $@ - @$(CC) $(DNSOBJS) -o $(DNS) $(LDFLAGS) + @$(CC) $(CLIENTOBJS) -o $(CLIENT) $(LDFLAGS) -$(DNSD): $(DNSDOBJS) +$(SERVER): $(SERVEROBJS) @echo LD $@ - @$(CC) $(DNSDOBJS) -o $(DNSD) $(LDFLAGS) + @$(CC) $(SERVEROBJS) -o $(SERVER) $(LDFLAGS) .c.o: @echo CC $< @@ -28,5 +28,5 @@ $(DNSD): $(DNSDOBJS) clean: @echo "Cleaning..." - @rm -f $(DNS) $(DNSD) *~ *.o *.core + @rm -f $(CLIENT) $(SERVER) *~ *.o *.core diff --git a/dnstun.c b/iodine.c similarity index 100% rename from dnstun.c rename to iodine.c diff --git a/dnstund.c b/iodined.c similarity index 100% rename from dnstund.c rename to iodined.c