Commit 931321c8 authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: rename cleanall into distclean

Also:
--move removing of include/config and include/generated to distclean
--trigger distclean in ppsi
--update ppsi
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent a7113db4
......@@ -29,7 +29,7 @@ export size_info_file
rm -rf $size_info_file
# remove files from the previous compilations first
make cleanall -s
make distclean -s
for c in $configs; do
echo "##### Building with '$c'"
......
......@@ -192,14 +192,15 @@ clean:
rm -f $(OBJS) $(OUTPUT).o config.o revision.o $(OUTPUT).elf $(LDS) \
$(OUTPUT).bin rules-*.bin \
$(OUTPUT).bram $(OUTPUT).vhd $(OUTPUT).mif $(OUTPUT)_disasm.S
rm -rf include/config
rm -rf include/generated
$(MAKE) -C $(PPSI) clean
$(MAKE) -C sdb-lib clean
$(MAKE) -C tools clean
cleanall: clean
distclean: clean
rm -rf include/config
rm -rf include/generated
rm -f $(addprefix *,$(MAKEALL_COPY_LIST))
$(MAKE) -C $(PPSI) distclean
%.o: %.c
${CC} $(CFLAGS) $(PTPD_CFLAGS) $(INCLUDE_DIR) $(LIB_DIR) -c $*.c -o $@
......
ppsi @ 8ff1442e
Subproject commit aa4760e0993080ef78d4ba64992c5fdecebd9ba2
Subproject commit 8ff1442e9e8caaa016f0b8fb9903f3c28a57077a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment