Files

15 lines
218 B
Makefile

SRC = src/*
TARGET = target
LIB = -lraylib -lm -lpthread -ldl -lrt -lX11
all: $(TARGET)
$(TARGET):
gcc $(SRC) -o $(TARGET) $(LIB)
clean:
rm -f $(TARGET)
run: $(TARGET)
gcc $(SRC) -o $(TARGET) $(LIB)
./$(TARGET)