openwrtv3/package/maccalc/src/Makefile
2011-08-15 18:55:51 +00:00

14 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