mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-27 12:05:15 +00:00
State arch
This commit is contained in:
parent
1edd418ca2
commit
59b85a87a3
3
Makefile
3
Makefile
@ -5,9 +5,6 @@ all:
|
||||
test: all
|
||||
(cd tests; make all)
|
||||
|
||||
stateos:
|
||||
@echo OS is $(OS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning..."
|
||||
@(cd src; make clean)
|
||||
|
@ -5,6 +5,7 @@ SERVER = ../bin/iodined
|
||||
SERVEROBJS = iodined.o tun.o dns.o read.o encoding.o login.o base32.o md5.o
|
||||
|
||||
OS = `uname | tr "a-z" "A-Z"`
|
||||
ARCH = `uname -m`
|
||||
|
||||
LDFLAGS = -lz
|
||||
CFLAGS = -c -g -Wall -D$(OS)
|
||||
@ -12,7 +13,7 @@ CFLAGS = -c -g -Wall -D$(OS)
|
||||
all: stateos $(CLIENT) $(SERVER) $(TESTSUITE)
|
||||
|
||||
stateos:
|
||||
@echo OS is $(OS)
|
||||
@echo OS is $(OS), arch is $(ARCH)
|
||||
|
||||
$(CLIENT): $(CLIENTOBJS)
|
||||
@echo LD $@
|
||||
|
Loading…
Reference in New Issue
Block a user