move pack_file to tool
This commit is contained in:
parent
fe781beef4
commit
3facb17f90
4
Makefile
4
Makefile
@ -82,8 +82,8 @@ all: main
|
||||
$(CXX) $(ARCH) $(CXXSTD) $(CFLAGS) $(OPT) $(DEBUG) -c $< -o $@
|
||||
|
||||
PACK_FILENAMES = $(shell cat filenames.txt)
|
||||
test.pack: pack_main $(PACK_FILENAMES)
|
||||
./pack_main $@ $(PACK_FILENAMES)
|
||||
test.pack: tool/pack_file $(PACK_FILENAMES)
|
||||
./tool/pack_file $@ $(PACK_FILENAMES)
|
||||
|
||||
test.pack.o: test.pack
|
||||
$(OBJCOPY) -I binary -O $(OBJARCH) $< $@
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
OPT = -O2
|
||||
CFLAGS = -I../../opus-dist/include
|
||||
CFLAGS = -I../include
|
||||
|
||||
opus_encode: opus_encode.c ../../opus-dist/lib/libopus.a
|
||||
gcc -o $@ $(OPT) $(CFLAGS) -lm $^
|
||||
|
||||
pack_file: pack_file.cpp
|
||||
g++ -o $@ $(OPT) $(CFLAGS) $^
|
||||
|
||||
BIN
tool/pack_file
Executable file
BIN
tool/pack_file
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user