Skip to content
Snippets Groups Projects
Commit 29c7b279 authored by rswindell's avatar rswindell
Browse files

Put filename last on cc command-line (required by bc++).

parent 5639575c
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ include targets.mk # defines all and clean targets
# Implicit C Compile Rule
$(ODIR)/%.o : %.c
@echo Compiling $<
@$(CC) $(CFLAGS) -c $< -o$@
@$(CC) $(CFLAGS) -o $@ -c $<
# Create output directories
$(ODIR):
......@@ -75,5 +75,5 @@ $(ODIR):
# Executable Build Rule
$(WRAPTEST): $(ODIR)/wraptest.o $(OBJS)
@echo Linking $@
@$(CC) $(LFLAGS) $^ -o$@
@$(CC) $(LFLAGS) -o $@ $^
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment