mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-11 21:07:31 +02:00
c754b185c9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28004 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
|