17 lines
280 B
Makefile
17 lines
280 B
Makefile
CC = gcc
|
|
CFLAGS = -g -Wall -Werror -std=c99
|
|
|
|
all: program
|
|
|
|
program: maze.o main.o
|
|
$(CC) $(CFLAGS) maze.o main.o -o program
|
|
|
|
maze.o: maze.c
|
|
$(CC) $(CFLAGS) -c maze.c -o maze.o
|
|
|
|
main.o: main.c
|
|
$(CC) $(CFLAGS) -c main.c -o main.o
|
|
|
|
clean:
|
|
rm -rf program *.o *.exe *.exe.stackdump
|