Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PROJ = Tutorial
- TARGET = $(PROJ).exe
- LDFLAGS += -I. -L/usr/lib -lintl
- LDFLAGS += -L/c/gosu/lib -lgosu
- LDFLAGS += -L/c/lib/FreeImage/Dist/x32 -lFreeImage
- LDFLAGS += -L/c/lib/SDL2_mixer/i686-w64-mingw32/lib -lSDL2_mixer
- LDFLAGS += -L/c/lib/SDL2/i686-w64-mingw32/lib -lSDL2
- LDFLAGS += -L/c/lib/OpenAL/libs/Win32 -lOpenAl32
- LDFLAGS += -lopengl32 -lglu32 -lgdi32 -lwinmm -ldxguid -lws2_32 -ldinput8
- CXXFLAGS = -Wall -g -I. -DUNICODE -D_UNICODE -DMINGW -DWIN32 -std=c++11
- # -I$(DXINCLUDE) -D_DEBUG
- # CXXFLAGS += -I/c/lib/FreeImage/Dist/x32 -I/c/lib/SDL2/i686-w64-mingw32/include/SDL2 -I/c/lib/SDL2_mixer/i686-w64-mingw32/include
- # CXXFLAGS += -I/c/Program\ Files\ \(x86\)/OpenAL\ 1.1\ SDK/include -Idependencies/libsndfile
- all: $(TARGET)
- $(TARGET): main.o
- $(LINK.o) $^ $(LDFLAGS) $(LDLIBS) -o $@
- clean:
- @echo 'Removing *.o'
- @find . -name \*.o -type f -delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement