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