mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2026-08-13 11:24:39 -04:00
17 lines
234 B
Plaintext
17 lines
234 B
Plaintext
CC = clang
|
|
LINK = -lstdc++ -lSDL2 -lOpenGL -lGLEW -lGLU
|
|
DBG = -Wall
|
|
|
|
all: build ;
|
|
|
|
targets = ./src/*.cpp ./src/*.h
|
|
|
|
build: $(targets) ;
|
|
$(CC) $(DBG) ./src/main.cpp $(LINK)
|
|
|
|
clean: main.o ;
|
|
rm -rf ./bin/*
|
|
|
|
run: build ;
|
|
./bin/main.o
|