diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile b/Makefile index 613e01c..d8f241e 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ CC := gcc CXX := g++ LINKER := g++ ASM := nasm -SRCDIR := ./Source -BINDIR := ./objs +SRCDIR := ./src +BINDIR := ./build EXE := $(BINDIR)/blackshades -CFLAGS := -O2 -Wall -g $(shell sdl-config --cflags) -I$(SRCDIR) -include Source/Support.h +CFLAGS := -O2 -Wall -g $(shell sdl-config --cflags) -I$(SRCDIR) CXXFLAGS := $(CFLAGS) LDFLAGS := $(shell sdl-config --libs) -lSDL_image -lGL -lGLU -lopenal -lalut # -framework QuickTime @@ -50,7 +50,6 @@ CLEANUP = $(wildcard *.exe) $(wildcard *.obj) \ $(wildcard *~) $(wildcard *.err) \ $(wildcard .\#*) core $(EXE) - # Rules for compiling individual source files... $(BINDIR)/%.o: $(SRCDIR)/%.cpp @@ -79,7 +78,3 @@ distclean: clean clean: rm -f $(CLEANUP) rm -rf $(BINDIR) - -# end of Makefile. - - |