CC = gcc LD = ld INC = -I../inc CFLAGS = -Wall -g $(INC) V = @ SCTL = ../sctl.o TARG = stepme names types all: $(TARG) %.o:%.c $(CC) $(CFLAGS) -c -o $@ $< stepme: stepme.o $(SCTL) $(CC) $(CFLAGS) -o $@ $^ names: names.o $(SCTL) $(CC) $(CFLAGS) -o $@ $^ types: types.o $(SCTL) $(CC) $(CFLAGS) -o $@ $^ clean: $(V)rm -rf *~ .gdbhistory core core.* *.o *.names $(TARG) *.so *.dylib depend