usaa21/sk1a/Makefile
Peter Petrek e5853fa96c first
2022-01-14 02:01:07 +01:00

16 lines
270 B
Makefile

CC = gcc
CFLAGS = -g -Wall -Werror
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