diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ CCOPTS := --std=gnu99 -Wall -Werror -O3 all: - cc $(CCOPTS) main.c -o fd-enum + if [ ! -d obj ]; then mkdir obj; fi + cc $(CCOPTS) -o obj/config.o -c config.c + cc $(CCOPTS) -o obj/fdstats.o -c fdstats.c + cc $(CCOPTS) -o fd-enum main.c obj/*.o |