Added a simple makefile
This commit is contained in:
13
iris_c/Makefile
Normal file
13
iris_c/Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
CC = gcc
|
||||||
|
CFLAGS = -Wall -Wextra -O2
|
||||||
|
TARGET = main
|
||||||
|
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
$(TARGET): main.c random.c random.h
|
||||||
|
$(CC) $(CFLAGS) -o $@ main.c random.c
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(TARGET)
|
||||||
Reference in New Issue
Block a user