1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

r627: remove the precompiled header when we call make clean or make proto

metze
(This used to be commit e37238a7c7c69e3dfcda319752e13131207d59e4)
This commit is contained in:
Stefan Metzmacher 2004-05-10 12:38:08 +00:00 committed by Gerald (Jerry) Carter
parent 28cfc3c7d7
commit e0970e1986

View File

@ -310,10 +310,11 @@ MAKEDIR = || exec false; \
@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
# 'make pch' is extremely useful for fast compiles if you have gcc-3.4
pch: basics
rm -f $(srcdir)/include/includes.h.gch
pch: pch_clean basics
$(CC) -I. -I$(srcdir) $(FLAGS) -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch
pch_clean:
rm -f $(srcdir)/include/includes.h.gch
idl_full: build/pidl/idl.pm
CPP="@CPP@" script/build_idl.sh FULL
@ -535,7 +536,7 @@ clean: delheaders
# afterwards.
proto_exists: include/proto.h include/build_env.h
delheaders:
delheaders: pch_clean
@/bin/rm -f $(srcdir)/include/proto.h $(srcdir)/include/build_env.h
include/proto.h: