1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-29 08:26:08 +03:00

More name changing

This commit is contained in:
Bjorn Andersson 2006-06-11 12:41:11 +00:00
parent eba70164e0
commit 1e9df58f2f
3 changed files with 10 additions and 10 deletions

View File

@ -1,26 +1,26 @@
CC = gcc CC = gcc
DNS = iodine CLIENT = iodine
DNSOBJS = dnstun.o tun.o dns.o read.o CLIENTOBJS = iodine.o tun.o dns.o read.o
DNSD = iodined SERVER = iodined
DNSDOBJS = dnstund.o tun.o dnsd.o read.o SERVEROBJS = iodined.o tun.o dnsd.o read.o
OS = `uname | tr "a-z" "A-Z"` OS = `uname | tr "a-z" "A-Z"`
LDFLAGS = -lz LDFLAGS = -lz
CFLAGS = -c -g -Wall -D$(OS) CFLAGS = -c -g -Wall -D$(OS)
all: stateos $(DNS) $(DNSD) all: stateos $(CLIENT) $(SERVER)
stateos: stateos:
@echo OS is $(OS) @echo OS is $(OS)
$(DNS): $(DNSOBJS) $(CLIENT): $(CLIENTOBJS)
@echo LD $@ @echo LD $@
@$(CC) $(DNSOBJS) -o $(DNS) $(LDFLAGS) @$(CC) $(CLIENTOBJS) -o $(CLIENT) $(LDFLAGS)
$(DNSD): $(DNSDOBJS) $(SERVER): $(SERVEROBJS)
@echo LD $@ @echo LD $@
@$(CC) $(DNSDOBJS) -o $(DNSD) $(LDFLAGS) @$(CC) $(SERVEROBJS) -o $(SERVER) $(LDFLAGS)
.c.o: .c.o:
@echo CC $< @echo CC $<
@ -28,5 +28,5 @@ $(DNSD): $(DNSDOBJS)
clean: clean:
@echo "Cleaning..." @echo "Cleaning..."
@rm -f $(DNS) $(DNSD) *~ *.o *.core @rm -f $(CLIENT) $(SERVER) *~ *.o *.core

View File