lodepng_example/Makefile

14 lines
177 B
Makefile
Raw Normal View History

2015-09-12 17:09:15 +03:00
CC=gcc
2015-10-17 15:03:57 +03:00
LDFLAGS= -lglfw -lGL
2015-09-12 17:09:15 +03:00
OUT=run
all: lodepng.o
$(CC) -O2 -o $(OUT) \
2015-10-17 15:03:57 +03:00
main.c lodepng.o $(LDFLAGS)
2015-09-12 17:09:15 +03:00
lodepng.o:
$(CC) -c ./deps/lodepng/lodepng.c
clean:
rm -f *.o $(OUT)