diff options
author | Craig Barnes <cr@igbarn.es> | 2014-01-21 20:47:56 +0000 |
---|---|---|
committer | Craig Barnes <cr@igbarn.es> | 2014-01-21 20:47:56 +0000 |
commit | fce375b1f12409546faf10bd5611fb32c064df7d (patch) | |
tree | 1bfe4cdb8e3e94f7998d9d881a20d9dcd5ace519 /Makefile | |
parent | 46de884e436083265b281b0e1da06c466859ce92 (diff) | |
download | rust-hoedown-fce375b1f12409546faf10bd5611fb32c064df7d.tar.gz |
Fix object compilation target in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -CFLAGS = -c -g -O3 -Wall -Wextra -Wno-unused-parameter -Isrc +CFLAGS = -g -O3 -Wall -Wextra -Wno-unused-parameter -Isrc ifneq ($(OS),Windows_NT) CFLAGS += -fPIC @@ -57,5 +57,5 @@ clean: # Generic object compilations -%.o: src/%.c examples/%.c - $(CC) $(CFLAGS) -o $@ $< +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< |