gir2pas: Fixed make file.

Create units output directory upon build.

Remove output directory recursively.
This commit is contained in:
Abou Al Montacir 2023-05-27 12:18:24 +02:00
parent a1f4b51baf
commit ec6cbdbee7

View File

@ -20,9 +20,10 @@ OPTIONS=\
OBJ=*.o *.or *.ppu *.rsj
gir2pas:gir2pascal.lpr $(SOURCES)
mkdir -p ${UNITS_DIR}
fpc $(OPTIONS) $< -o$@
clean:
${RM} gir2pas ${UNITS_DIR} $(OBJ)
${RM} -r gir2pas ${UNITS_DIR} $(OBJ)
.PHONY: clean