diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-04 17:52:14 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-04 17:52:14 +0000 |
commit | 6065a4cf74e18f5ef2528ffb8303f1af13873e95 (patch) | |
tree | 41296c3deb4a152a74dd1d13f66ce7ce5d92b644 /src | |
parent | always use gcc for linking (not ld) (diff) |
remove LD completly
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 4 |
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 $< |