Pre-build step in makefile

I propose two solutions. The first mimics what NetBeans IDE generates: CC=gcc .PHONY: all clean all: post-build pre-build: @echo PRE post-build: main-build @echo POST main-build: pre-build @$(MAKE) –no-print-directory target target: $(OBJS) $(CC) -o $@ $(OBJS) clean: rm -f $(OBJS) target The second one is inpired by what Eclipse IDE generates: CC=gcc .PHONY: all clean .SECONDARY: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)