treeScannerC/Makefile.config
Adam Skotarczak fc219ceac1
feature/max abgeschlossen
- Verzeichnistiefe und maximale Anzahl an Dateien über Parameter steuerbar
 - weitere Features implementiert wie Laufzeitmessung
2025-05-14 22:34:13 +02:00

31 lines
694 B
Makefile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Makefile.config zentrale Buildkonfiguration
# Tools
CC = cl
RC = rc
LINK = link.exe
# Verzeichnisse
SRCDIR = src
RESDIR = resources
OUTDIR = build\output
INCLUDEDIR = include
# Flags
BASE_CFLAGS = /nologo /W4 /I $(INCLUDEDIR)
BASE_LDFLAGS = /nologo /SUBSYSTEM:CONSOLE /OUT:$(OUTDIR)\scanner.exe
# Debug-abhängige Erweiterungen
ifeq ($(DEBUG),1)
CFLAGS = $(BASE_CFLAGS) /Zi /Od /DDEBUG
LDFLAGS = $(BASE_LDFLAGS) /DEBUG /PDB:$(OUTDIR)\scanner.pdb
else
CFLAGS = $(BASE_CFLAGS) /O2
LDFLAGS = $(BASE_LDFLAGS)
endif
# Quell- und Ausgabedateien
OBJ = $(OUTDIR)\main.obj $(OUTDIR)\app.obj $(OUTDIR)\scanner_config.obj
RES = $(OUTDIR)\version.res
EXE = $(OUTDIR)\scanner.exe