mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2026-03-06 19:34:23 -05:00
18 lines
261 B
Plaintext
18 lines
261 B
Plaintext
CC = clang
|
|
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
|
|
DBG = -Wall
|
|
|
|
all: build ;
|
|
|
|
targets = ./src/*.cpp
|
|
targets += ./src/*.h
|
|
|
|
build: $(targets) ;
|
|
$(CC) $(DBG) ./src/main.cpp -o ./bin/main.o $(LINK)
|
|
|
|
clean: main.o ;
|
|
rm -rf ./bin/*
|
|
|
|
run: build ;
|
|
./bin/main.o
|