Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / udevtrigger / Makefile
blob6e941c5868e10b55be07ebb091630ec71e173ae5
1 CFLAGS = -Os -Wall $(EXTRACFLAGS)
3 OBJS = udevtrigger.o
5 all: udevtrigger
7 udevtrigger: $(OBJS)
8 @echo " [udevtrigger] CC -o $@"
9 @$(CC) $(LDFLAGS) -o $@ $(OBJS)
11 $(SIZECHECK)
12 $(CPTMP)
14 install: all
15 install -D udevtrigger $(INSTALLDIR)/sbin/udevtrigger
16 $(STRIP) $(INSTALLDIR)/sbin/udevtrigger
17 chmod 0500 $(INSTALLDIR)/sbin/udevtrigger
19 clean:
20 rm -f udevtrigger .*.depend *.o
22 %.o: %.c .%.depend
23 @echo " [udevtrigger] CC $@"
24 @$(CC) $(CFLAGS) -c $<
26 .depend: $(OBJS:%.o=%.c)
27 @$(CC) $(CFLAGS) -M $^ > .depend
29 .%.depend: %.c
30 @$(CC) $(CFLAGS) -M $< > $@
32 -include $(OBJS:%.o=.%.depend)