Skip to content

Commit

Permalink
Put -c at the end of compiler arguments
Browse files Browse the repository at this point in the history
That makes it easier to paste the commandline and add -E instead for
debugging includes
  • Loading branch information
mkj committed Dec 8, 2023
1 parent 3cf8344 commit 75c610d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ $(OBJ_DIR):
mkdir -p $@

$(OBJ_DIR)/%.o: $(srcdir)/%.c $(HEADERS) | $(OBJ_DIR)
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ -c

fuzz/%.o: $(srcdir)/../fuzz/%.c $(HEADERS)
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ -c

default_options_guard.h: $(srcdir)/default_options.h
@echo Creating $@
Expand Down

0 comments on commit 75c610d

Please sign in to comment.