openwrt/package/robocfg/src/Makefile

12 lines
132 B
Makefile
Raw Normal View History

all: robocfg
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
robocfg: robocfg.o
$(CC) -o $@ $^
clean:
rm -f *.o robocfg