Alessandro Bonazzi 8c43d5cf2f Patch level : 12.00
Files correlati     : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe

Bug                 :

Commento:
Merge 1.0 libraries
2025-04-06 00:42:21 +02:00

57 lines
1.0 KiB
Makefile

BINARIES = base64
# Build flags (uncomment one)
#############################
# Release build flags
CFLAGS += -O3
#############################
# Debug build flags
#CFLAGS += -g
#############################
# select a buffersize
# a larger size should be faster, but takes more runtime memory
#BUFFERSIZE = 4096
#BUFFERSIZE = 65536
BUFFERSIZE = 16777216
SOURCES = base64.cc
TARGETS = $(BINARIES)
LINK.o = g++
CFLAGS += -Werror -pedantic
CFLAGS += -DBUFFERSIZE=$(BUFFERSIZE)
CFLAGS += -I../include
CXXFLAGS += $(CFLAGS)
vpath %.h ../include/b64
vpath %.a ../src
.PHONY : clean
all: $(TARGETS) #strip
base64: libb64.a
strip:
strip $(BINARIES) *.exe
clean: clean_VisualStudioProject
rm -f *.exe* *.o $(TARGETS) *.bak *~
clean_VisualStudioProject:
$(MAKE) -C VisualStudioProject clean
distclean: clean distclean_VisualStudioProject
rm -f depend
distclean_VisualStudioProject: clean_VisualStudioProject
$(MAKE) -C VisualStudioProject distclean
depend: $(SOURCES)
makedepend -f- $(CFLAGS) $(SOURCES) 2> /dev/null 1> depend
-include depend