4600-homework-1/Makefile

17 lines
163 B
Makefile
Raw Normal View History

CC = gcc
CFLAGS =
2022-02-24 03:59:14 +00:00
SRC := syscalls bscopy
OUT := syscalls.out bscopy.out
.PHONY: all clean
2022-02-24 03:59:14 +00:00
all: $(SRC)
%: %.c
2022-02-24 03:59:14 +00:00
$(CC) $(CFLAGS) -o $@.out $^
clean:
2022-02-24 03:59:14 +00:00
rm $(OUT)