precomp-cpp/contrib/packmp3/Makefile
Alex Xu (Hello71) 3a84725d31 use __linux/__unix instead of CMAKE_C(XX)_FLAGS
this allows the user-specified CFLAGS/CXXFLAGS to take effect.

assume that all platforms supporting C++ in 2021 also support stdbool.h.
2021-11-20 10:30:19 -05:00

12 lines
No EOL
219 B
Makefile

OBJECTS = huffmp3.o packmp3.o
CFLAGS = -m64 -O3 -DBUILD_LIB -Wall -pedantic -funroll-loops -ffast-math -fomit-frame-pointer
.PHONY: all
all: $(OBJECTS)
.PHONY: clean
clean:
rm -f *.o
%.o: %.cpp
g++ -c $(CFLAGS) $<