01 one shape, one color
This commit is contained in:
22
01-one-shape/Makefile
Normal file
22
01-one-shape/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
PROG=shapes
|
||||
CC=gcc
|
||||
STD=c2x
|
||||
SRC_FILES=main.c
|
||||
OUT_DIR=./
|
||||
CFLAGS=-std=$(STD) -ggdb
|
||||
EXPERIMENTAL_FLAGS=-pg -Ofast
|
||||
LIBS=-lraylib -lGL -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor -lm -lpthread -ldl -lrt -lm
|
||||
|
||||
|
||||
shapes:
|
||||
$(CC) $(SRC_FILES) -o $(OUT_DIR)$@ $(CFLAGS) $(EXPERIMENTAL_FLAGS) $(LIBS)
|
||||
|
||||
run: shapes
|
||||
$(OUT_DIR)$(PROG)
|
||||
|
||||
clean:
|
||||
rm $(OUT_DIR)$(PROG)
|
||||
|
||||
|
||||
.PHONY: shapes run clean
|
||||
|
||||
Reference in New Issue
Block a user