all: ssprintf.o # -nostartfiles ssprintf.o: ssprintf.c $(CC) -c -o ssprintf.o ssprintf.c test: ssprintf.o ssprintf.h test.c $(CC) -c -o test.o test.c $(CC) -o test ssprintf.o test.o ./test clean-objs: rm -f ssprintf.o clean-test: rm -f test.o test clean: clean-objs clean-test