glfw-examples/Makefile.win32

21 lines
443 B
Makefile
Raw Normal View History

2015-09-13 15:29:53 +03:00
CC=tcc
CFLAGS= -I./win32/include -L./win32/lib
2015-09-20 23:47:22 +03:00
all: fps_counter rotate_cube windows_icon
2015-09-13 15:29:53 +03:00
fps_counter:
$(CC) $(CFLAGS) fps_counter.c -lglfw3 -lopengl32 -o fps_counter.exe
2015-09-20 23:47:22 +03:00
rotate_cube:
$(CC) $(CFLAGS) rotate_cube.c -lglfw3 -lopengl32 -o rotate_cube.exe
2015-09-13 15:29:53 +03:00
windows_icon: icon.o
$(CC) $(CFLAGS) windows_icon.c icon.o -lglfw3 -lopengl32 -o windows_icon.exe
icon.o:
2015-09-20 23:47:22 +03:00
windres -O coff win32/icon/resource.rc -o icon.o
2015-09-13 15:29:53 +03:00
clean:
del *.o
del *.exe