mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
this allows the user-specified CFLAGS/CXXFLAGS to take effect. assume that all platforms supporting C++ in 2021 also support stdbool.h.
12 lines
215 B
Text
12 lines
215 B
Text
OBJECTS = huffmp3.o packmp3.o
|
|
CFLAGS = -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) $<
|