# This Makefile was added by Andrey Vikt. Stolyarov (a.k.a. Croco)
# for the FEDAnet project in 2025.  No copyright is claimed.
#
# It may look oversimplified; if so, just download the original randq
# library and enjoy :-)  See the README file for details.
#

CC=gcc
CFLAGS=-ansi -Wall -O2

NAME= randq
MODULES= randq.o

lib$(NAME).a: $(MODULES)
	ar -rcs $@ $^

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

clean:
	rm -f *.o lib$(NAME).a

