mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-19 16:02:36 +02:00
30 lines
507 B
Text
30 lines
507 B
Text
CFLAGS = -s -Os -fomit-frame-pointer
|
|
LDFLAGS = -Wl,-allow-shlib-undefined
|
|
|
|
CFLAGS+=-I$(TOOLCHAIN)/include
|
|
CFLAGS+=-Wall
|
|
CFLAGS += $(BRCM_WERROR_CFLAGS)
|
|
|
|
OBJS = dnsspoof.o
|
|
|
|
all: dnsspoof
|
|
|
|
install: dnsspoof
|
|
install -m 755 dnsspoof $(INSTALL_DIR)/bin
|
|
$(STRIP) $(INSTALL_DIR)/bin/dnsspoof
|
|
|
|
dynamic: all install
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
dnsspoof: dnsspoof.o
|
|
$(CC) $(CFLAGS) -o dnsspoof dnsspoof.o
|
|
|
|
clean:
|
|
-rm -f dnsspoof *.o
|
|
|
|
binaryonly_dist_clean: clean
|
|
rm -f Makefile.fullsrc
|
|
rm -rf *.c *.h linux
|
|
|