Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (18 sloc) 0.512 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
TARGET=
CC=gcc
CXX=g++
CFLAGS=-g -O2 -w
CXXFLAGS=$(CFLAGS)
LDFLAGS=-static-libgcc -static-libstdc++
INCDIR=-I"./DxLib/"
LIBDIR=-L"./DxLib/"
LIBS=-lDxLib -lDxUseCLib -lDxDrawFunc -ljpeg -lpng -lzlib -ltheora_static -lvorbis_static\
-lvorbisfile_static -logg_static -lbulletdynamics -lbulletcollision -lbulletmath
LIBS+=-lgdi32
OBJS=main.o

.cpp.o:
$(CXX) $(CXXFLAGS) -c $<

$(TARGET): $(OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(INCDIR) $(LIBDIR) -o $@ $^ $(LIBS)

clean:
@rm -fr $(TARGET).exe $(OBJS) *~ *.swp
Something went wrong with that request. Please try again.