diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2257da3 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -Wall -I. +LDFLAGS = -L/path/to/graph/libs -lgraph -lX11 -lXpm + +SRCS = main.c blocus.c graphics_utils.c +OBJS = $(SRCS:.c=.o) + +all: blocus + +blocus: $(OBJS) + $(CC) -o blocus $(OBJS) $(LDFLAGS) + +clean: + rm -f blocus $(OBJS)