dnsmasq: stay close as possible to master branch
[tomato.git] / release / src-rt-6.x.4708 / router / wanuptime / Makefile
blob14dc20f584723c12130dd20d688890e9a3e77a38
1 include ../common.mak
3 CFLAGS = -Os -Wall $(EXTRACFLAGS)
4 CFLAGS += -I$(SRCBASE) -I$(SRCBASE)/include -I. -I$(TOP)/shared
6 LIBS = -L$(TOP)/nvram${BCMEX} -lnvram -L$(TOP)/shared -lshared
8 ifeq ($(TCONFIG_BCMARM),y)
9 LIBS += -lgcc_s
10 endif
12 EXE = wanuptime
13 OBJS = wanuptime.o
15 default: $(EXE)
17 $(EXE): $(OBJS)
18 @$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
20 %.o: %.c
21 @$(CC) $(CFLAGS) -o $@ -c $<
23 clean:
24 rm -f $(EXE) $(OBJS)