mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-29 09:29:01 +08:00
19 lines
296 B
Makefile
19 lines
296 B
Makefile
#
|
|
# Quick and dirty makefile to build on Linux
|
|
# tested on Ubuntu 14.04.1 32bit
|
|
#
|
|
|
|
SRC = main.cpp ../../imgui.cpp
|
|
|
|
OBJ = $(SRC:.cpp=.o)
|
|
|
|
CXXFLAGS = -I../../ `pkg-config --cflags glfw3`
|
|
|
|
LIBS = `pkg-config --static --libs glfw3` -lGLEW
|
|
|
|
all: $(OBJ)
|
|
$(CXX) $(OBJ) $(LIBS)
|
|
|
|
clean:
|
|
$(RM) -f $(OBJ)
|