SAE11_2024/Makefile

15 lines
252 B
Makefile
Raw Permalink Normal View History

2024-11-24 18:55:25 +01:00
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)