DIR = monitor OBJS = monitor.o APPS = monitor top: (cd ..; $(MAKE) SUBDIRS=$(DIR) subdirs) all: $(APPS) apps: $(APPS) monitor: monitor.o $(CC) -o monitor monitor.o $(LDFLAGS) clean: $(RM) $(OBJS) $(APPS) # Dependencies go here...