diff options
author | Aaron Ball <nullspoon@oper.io> | 2023-06-09 17:49:04 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2023-06-09 17:49:04 -0600 |
commit | 102f10b0c2bb16cdbc654506cd2fa4000c66de78 (patch) | |
tree | 8910cd95061820dda6dd790fb090ef2fbcf479a5 /Makefile | |
parent | 2fcb8ea3ffa50b4866e1d97f3625129c8257605b (diff) | |
download | fd-enum-102f10b0c2bb16cdbc654506cd2fa4000c66de78.tar.gz fd-enum-102f10b0c2bb16cdbc654506cd2fa4000c66de78.tar.xz |
Reorganize code
This moves file descriptor stating code into the new fdstats files, and
the config code into the new config files. Relevant updates made to
reference structs by pointer.
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 |