mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 15:03:43 +02:00
15 lines
157 B
Makefile
15 lines
157 B
Makefile
|
CC = gcc
|
||
|
CFLAGS = -Wall
|
||
|
OBJS = main.o
|
||
|
|
||
|
all: maccalc
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||
|
|
||
|
maccalc: $(OBJS)
|
||
|
$(CC) -o $@ $(OBJS)
|
||
|
|
||
|
clean:
|
||
|
rm -f maccalc *.o
|