mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-23 10:05:08 +00:00
fancy pancy
This commit is contained in:
parent
323df069b1
commit
efe4b99e06
9
Makefile
9
Makefile
@ -2,8 +2,15 @@ CC = gcc
|
|||||||
OUT = dnstun
|
OUT = dnstun
|
||||||
OBJS = dnstun.o tun.o
|
OBJS = dnstun.o tun.o
|
||||||
|
|
||||||
|
OS = `uname | tr "a-z" "A-Z"`
|
||||||
|
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
CFLAGS = -c -g -Wall -D`uname | tr "a-z" "A-Z"`
|
CFLAGS = -c -g -Wall -D$(OS)
|
||||||
|
|
||||||
|
all: stateos $(OUT)
|
||||||
|
|
||||||
|
stateos:
|
||||||
|
@echo Compiling for $(OS)
|
||||||
|
|
||||||
$(OUT): $(OBJS)
|
$(OUT): $(OBJS)
|
||||||
$(CC) $(OBJS) -o $(OUT) $(LDFLAGS)
|
$(CC) $(OBJS) -o $(OUT) $(LDFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user