# Makefile for Renew Ethernet Daemon
#
# Description:
# 	Renew Ethernet Daemon is used to receive SIGUSR1 signal from Wi-Fi driver.
# Turn on/off the switch power if the signal is received.
#
# Version: 1.0
# Date: 2011/8/31
# Author: Dias Kuo
#

EXEC = renewEthDaemon

all: $(EXEC)

$(EXEC): $(EXEC).c
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(LDLIBS)

romfs:
	$(ROMFSINST) /usr/sbin/$(EXEC)

clean:
	-rm -f $(EXEC) *.elf *.gdb *.o
