I need to add a "all" rule to my make file, but ive never seen what that is before, and ive done a search but cant find anything. the all rule is meant to make it so that make all produces an executable.
Can anyone please show me. heres the makefile that i have already made:
Code:CC=gcc OBJS=num.o EXTRA-FLAGS= num: $(OBJS) $(CC) $(EXTRA_FLAGS) -c num.c clean: rm -f num ${OBJS} debug: make EXTRA_FLAGS=-g tar: tar cf num.tar makefile num.c