diff options
| author | jwerle <joseph.werle@gmail.com> | 2024-12-31 13:47:30 -0500 |
|---|---|---|
| committer | jwerle <joseph.werle@gmail.com> | 2024-12-31 13:47:30 -0500 |
| commit | a15164f747e51484360a01b404531fe51c2e5b7a (patch) | |
| tree | 61bfd56020777697b13f88ab51be813205892f58 /Makefile | |
| parent | 81259bbb334cb884dedf607d4432d301763f6dc2 (diff) | |
fix(Makefile): fix 'example' target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -8,7 +8,7 @@ MAN_FILES = $(wildcard man/*.md) LIB ?= libmurmurhash.so INCLUDE ?= murmurhash.h -all: $(LIB) $(BIN) +all: $(LIB) $(BIN) example $(LIB): $(CC) -shared $(SRC) $(CFLAGS) -o $(LIB) @@ -20,9 +20,10 @@ clean: rm -f test rm -f $(BIN) rm -f $(LIB) + rm -f example -example: - $(CC) murmurhash_example.c -lmurmurhash -o murmurhash_example +example: example.c murmurhash.c + $(CC) $^ -o $@ test: $(CC) test.c $(SRC) $(CFLAGS) -o test |
