lab-06-Rushilwiz/Makefile
github-classroom[bot] 05ecbee94d
Initial commit
2024-04-15 17:24:16 +00:00

23 lines
303 B
Makefile

CC=gcc
CFLAGS=-c -Wall -Werror -g
all: main
main: task.o schedule.o main.o
$(CC) task.o schedule.o main.o -o main -lm
task.o: task.c
$(CC) $(CFLAGS) task.c
schedule.o: schedule.c
$(CC) $(CFLAGS) schedule.c
main.o: main.c
$(CC) $(CFLAGS) main.c
run: main
./main
clean:
/bin/rm -f main *.o