| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-01 20:33:00 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-01 20:33:00 +0200 |
| commit | d705e71f90bc4874fb13e4496a2ebd6968d38a79 (patch) | |
| tree | ef7f6cafdce7b2babef39f2c01ab9e66af480c55 /Makefile | |
| parent | cc9d637652875020e1a26874f15ff362938aa9e0 (diff) | |
Switches to Makefiles.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..899d412 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +CFLAGS += -O3 +CFLAGS += -D_POSIX_SOURCE +CFLAGS += -D_POSIX_C_SOURCE=200809L +################################################################################ +EXECUTABLE = jh-cli +SRC_DIR = ./src +################################################################################ +export +################################################################################ + +build: $(EXECUTABLE) + +$(EXECUTABLE): $(SRC_DIR)/export.a + $(CC) -o $@ $< + +$(SRC_DIR)/export.a: + $(MAKE) -C $(SRC_DIR) export.a + +clean: + $(MAKE) -C $(SRC_DIR) clean + rm -f $(EXECUTABLE) |


