SQCSimulator2023/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/Makefile

17 lines
472 B
Makefile
Raw Normal View History

2021-10-19 10:27:59 -04:00
# makefile for linux
# if you get an error like this:
# /usr/bin/ld: cannot find -lX11
# then install the libx11-dev lib using something like:
# sudo apt-get install libx11-dev
# and for the 32 bit version, use
# sudo apt-get install libx11-dev:i386
CPP = g++
OPTS = -I"../../include" -I"3rdparty" -L"/usr/lib" -L"3rdparty" -DLINUX -lfltklinux -lX11 ../../bin/linux-gcc/libIrrKlang.so -pthread
all:
$(CPP) main.cpp window.cxx -m32 -o player $(OPTS)
clean:
rm player