summaryrefslogtreecommitdiff
path: root/head
diff options
context:
space:
mode:
Diffstat (limited to 'head')
-rw-r--r--head/bop/build.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/head/bop/build.h b/head/bop/build.h
index ff4c8e5..0041044 100644
--- a/head/bop/build.h
+++ b/head/bop/build.h
@@ -7,12 +7,24 @@
#define BOP_BUILD_H 1
/*
+ * Build operations that can be performed
+ *
+ * @BUILD_OP_BUILD: Build all CFILES and ASMFILES
+ * @BUILD_OP_CLEAN: Clean all object files
+ */
+typedef enum {
+ BUILD_OP_BUILD,
+ BUILD_OP_CLEAN
+} build_op_t;
+
+/*
* Build a directory
*
* @dirpath: Directory to build
+ * @bop: Build operation to perform
*
* Returns zeron on success
*/
-int bop_build_dir(const char *dirpath);
+int bop_build_dir(const char *dirpath, build_op_t bop);
#endif /* !BOP_BUILD_H */