mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 22:26:29 +02:00
gir2pas: Fixed make file.
Create units output directory upon build. Remove output directory recursively.
This commit is contained in:
parent
a1f4b51baf
commit
ec6cbdbee7
@ -20,9 +20,10 @@ OPTIONS=\
|
|||||||
OBJ=*.o *.or *.ppu *.rsj
|
OBJ=*.o *.or *.ppu *.rsj
|
||||||
|
|
||||||
gir2pas:gir2pascal.lpr $(SOURCES)
|
gir2pas:gir2pascal.lpr $(SOURCES)
|
||||||
|
mkdir -p ${UNITS_DIR}
|
||||||
fpc $(OPTIONS) $< -o$@
|
fpc $(OPTIONS) $< -o$@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
${RM} gir2pas ${UNITS_DIR} $(OBJ)
|
${RM} -r gir2pas ${UNITS_DIR} $(OBJ)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user