mobiground/Makefile
CRy386i 238882257b Added libm, PortView, Triangles, Orthographics View
Added libm into build system '-lm'.
Edited shaders.
Added dynamic resize window.
Added another triangle and test depth with intersection triangles.
2025-01-16 11:32:57 +02:00

18 lines
382 B
Makefile

CC=gcc
CFLAGS=-O1 -DDEBUG -g -ggdb -std=c23
LIBS=`pkg-config sdl3 --cflags --libs` -lGL -lGLEW -lm
OBJ = main.o
all: mobiground
%.o: %.c # Add all .o and .c files to compiler
$(CC) -c -o $@ $< $(CFLAGS) # compile, generate, all output, prerequisite implicit rule, compile flags.
mobiground: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
.PHONY: clean
clean:
rm -f *.o mobiground