diff options
Diffstat (limited to '29_outname/Makefile')
-rw-r--r-- | 29_outname/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/29_outname/Makefile b/29_outname/Makefile new file mode 100644 index 0000000..7cdf5f1 --- /dev/null +++ b/29_outname/Makefile @@ -0,0 +1,12 @@ +CFLAGS=-Wall -Werror -std=gnu99 -pedantic -ggdb3 +OBJS=outname.o outname_test.o +PROGRAM=outname_test + +$(PROGRAM): $(OBJS) + gcc $(CFLAGS) -o $@ $(OBJS) + +%.o: %.c outname.h + gcc -c $(CFLAGS) $< + +clean: + rm -f $(OBJS) $(PROGRAM) *~ |