Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a284dc7130
24 lines (17 sloc) 0.676 kb
.PHONY : all clean
CFLAGS := -Wall -L/usr/lib -lSDL -lSDL_gfx -lasound -lfftw3 -lm -g -pthread -lrt
CPPFLAGS := -Wall -L/usr/lib -lSDL -lSDL_gfx -lasound -lfftw3 -lm -g -pthread -lrt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
DIRS := $(shell find . -type d)
FILES := $(foreach dir, $(DIRS), $(wildcard $(dir)/*.c) \
$(wildcard $(dir)/*.cpp))
OBJS := $(addsuffix .o, $(basename $(FILES)))
APP := HAX_Audio_eXtractor
all: $(OBJS)
$(CXX) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(OBJS) -o $(APP)
clean:
rm -f $(OBJS) $(APP) $(OBJS:.o=.d)
%.d: %.cpp
$(CXX) $(CPPFLAGS) -MM -MF $@ $<
%.d: %.c
$(CC) $(CFLAGS) -MM -MF $@ $<
-include $(OBJS:.o=.d)
Jump to Line
Something went wrong with that request. Please try again.