SRCS = 3-axis OBJS = $(SRCS:.c=.o) 3-axis: $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) clean: rm -f $(OBJS) rm -f 3-axis