makefile in cygwin
makefile in linux
CC = g++
LDLIBS = -lGlut32 -lOpenGL32 -lGLU32 -lXmu -lX11 -lm
INCLUDE = -L/usr/X11R6/lib -L/lib/w32api
base: base.cpp
$(CC) -g $(INCLUDE) base.cpp $(LDLIBS) -o base
LDLIBS = -lGlut32 -lOpenGL32 -lGLU32 -lXmu -lX11 -lm
INCLUDE = -L/usr/X11R6/lib -L/lib/w32api
base: base.cpp
$(CC) -g $(INCLUDE) base.cpp $(LDLIBS) -o base
makefile in linux
CC = g++
LDLIBS = -lglut -lGL -lGLU -lXmu -lX11 -lm
INCLUDE = -L/usr/X11R6/lib
base: base.cpp
$(CC) -g $(INCLUDE) base.cpp \
$(LDLIBS) -o base
LDLIBS = -lglut -lGL -lGLU -lXmu -lX11 -lm
INCLUDE = -L/usr/X11R6/lib
base: base.cpp
$(CC) -g $(INCLUDE) base.cpp \
$(LDLIBS) -o base