fancy pancy

This commit is contained in:
Bjorn Andersson 2006-06-05 12:58:50 +00:00
parent 323df069b1
commit efe4b99e06

View File

@ -2,8 +2,15 @@ CC = gcc
OUT = dnstun
OBJS = dnstun.o tun.o
OS = `uname | tr "a-z" "A-Z"`
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)
$(CC) $(OBJS) -o $(OUT) $(LDFLAGS)