SSID: Respect ASCII character Label.
[tomato.git] / release / src-rt / emf / emfconf / Makefile
blobb589896bdc602e3d14c7d08c4c16cdc58259e411
2 # $Id: Makefile 241182 2011-02-17 21:50:03Z gmo $
5 CROSS =
6 CC = $(CROSS)gcc
7 AR = $(CROSS)ar
8 STRIP = $(CROSS)strip
10 ALL_OBJS = emfu.o emfu_linux.o
12 CCFLAGS = -Os -Wall -I$(SRCBASE)/include -I$(TOP)/shared -I$(SRCBASE)/include/emf/emf $(EXTRACFLAGS)
14 ifneq ($(wildcard ./prebuilt),)
15 all:
16 -cp prebuilt/emf emf
17 else
18 all: emf
19 endif
21 emf: $(ALL_OBJS)
22 $(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $(ALL_OBJS) $(LDLIBS)
23 $(STRIP) $@
25 $(ALL_OBJS): %.o: %.c
26 @echo " "
27 @echo "Making $<"
28 $(CC) $(CCFLAGS) -c $<
30 install: all
31 install -d $(INSTALLDIR)/emf/usr/sbin
32 install -m 755 emf $(INSTALLDIR)/emf/usr/sbin
34 .PHONY: clean
35 clean:
36 -rm -f *.o *~ core emf