SOURCES = misc_error.c misc_state.c
OBJECTS = misc_error.o misc_state.o
LIB = libmisc.a

CC = @CC@
CFLAGS = @CFLAGS@

all: $(LIB)

$(LIB): $(OBJECTS)
	ar -crs $@ $(OBJECTS)

%.o: %.c
	$(CC) $(CFLAGS) -c $<

clean:
	rm -f $(OBJECTS)
	rm -f $(LIB)

distclean: clean
	rm -f Makefile

realclean: clean

depend: $(SOURCES)
	$(CC) $(CFLAGS) -MM $(SOURCES) >> Makefile

# automatically generated dependencies follow


syntax highlighted by Code2HTML, v. 0.9.1