Makefile (236B)
1 OBJS = src/main.c src/window.c src/triangle.c 2 3 CC = tcc 4 5 CFLAGS = -Wall -run 6 7 LDLIBS=-lglfw -lGL -lSDL2 -lGLEW 8 OBJ_NAME = main 9 10 all : $(OBJS) 11 $(CC) $(OBJS) $(CFLAGS) $(LDLIBS) -o $(OBJ_NAME) 12 13 clean: 14 rm -f *.o main 15 16 .PHONY: all clean