19 lines
261 B
Makefile
19 lines
261 B
Makefile
|
CC = gcc-13
|
||
|
CFLAGS = -Wall -Wextra
|
||
|
BIN = ./out
|
||
|
|
||
|
TARGETS = init scheduler
|
||
|
|
||
|
all: $(TARGETS)
|
||
|
|
||
|
init: init.c
|
||
|
$(CC) $(CFLAGS) -o $(BIN)/init init.c
|
||
|
|
||
|
scheduler: scheduler.c
|
||
|
$(CC) $(CFLAGS) -o $(BIN)/scheduler scheduler.c
|
||
|
|
||
|
clean:
|
||
|
rm -f $(TARGETS)
|
||
|
|
||
|
.PHONY: all clean
|