include config.mk OBJ = draw.o all: build run build: ${OBJ} sim.c ${CC} ${CFLAGS} ${LIBS} ${OBJ} sim.c -o sim run: ./sim %.o: %.c ${CC} ${CFLAGS} $< -c clean: rm *.o sim