# Makefile for freq
#

CFLAGS= -O2 -Wall -N -s

CC= gcc

PROG= freq

all: $(PROG)

freq: freq.o setclock.o setfreq.o
	$(CC) $(CFLAGS) -o $@ freq.o setclock.o setfreq.o $(LDFLAGS)

clean:
	rm -f *.o *.a *~ .depend core a.out $(PROG)

dep:
	$(CC) -M $(CFLAGS) *.c >.depend

.SUFFIXES: .i

.c.i:
	$(CC) -E $(CFLAGS) -o $@ $<

# include .depend
