summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-04 17:52:14 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-04 17:52:14 +0000
commit6065a4cf74e18f5ef2528ffb8303f1af13873e95 (patch)
tree41296c3deb4a152a74dd1d13f66ce7ce5d92b644 /src
parentalways use gcc for linking (not ld) (diff)
remove LD completly
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 841c6fb..1d0d5c6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,8 +34,6 @@
include include.mk
-LD := $(CC)
-
EXECUTABLE := uanytun
CRYPT_OBJ := key_derivation.o \
@@ -71,7 +69,7 @@ all: $(EXECUTABLE)
-include $(SRC:%.c=%.d)
uanytun: $(OBJ)
- $(LD) $(OBJ) -o $@ $(LDFLAGS)
+ $(CC) $(OBJ) -o $@ $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c $<